Hi everyone:
I use dovecot only as the imap server, For smtp and pop3, I use apache james.
The dovecot version: 1.1.14
And the configuration is :
protocols: imap
ssl_disable: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location:
mbox:/usr/local/edupass/mail/repo/%u:INBOX=/usr/local/edupass/mail/%u
auth default:
passdb:
driver: sql
args: /etc/dovecot-sql.conf
userdb:
driver: sql
args: /etc/dovecot-sql.conf
I have no porblems to login.
When I use "telent host 25" to send a email, dovecot read it no
problems.
But when I use outlook and foxmail to send a email, dovecot cann't read the
email data.
I compared the data that using the two way to send, and found the reason:
use outlook and foxmail: at the beginning of the eamil data is "From
zxjteacher_SP_LZU <zxjteacher_SP_LZU at myserver>";
and if I telnet host 25 to send the mail: at the beginning of the eamil data is
"From <zxjteacher_SP_LZU at myserver>",
so I delete "zxjteacher_SP_LZU", dovecot read it out.
"zxjteacher_SP_LZU" is because that outlook and foxmail need an
account name to represent the eamil address.
So, anyone ever confront with this situation?
Any helps appreciate.
Thx.
Charles Marcus
2009-May-19 10:07 UTC
[Dovecot] imap cann't read the mail that foxmail send
On 5/18/2009, wallace0615 (wallace0615 at 126.com) wrote:> I have no porblems to login. > When I use "telent host 25" to send a email, dovecot read it no problems. > But when I use outlook and foxmail to send a email, dovecot cann't read the email data.Dovecot is not an smtp server. It does not listen on port 25 (or if you tell it to, you don't understand what dovecot is). This is not a dovecot problem.
On Tue, 2009-05-19 at 10:02 +0800, wallace0615 wrote:> I compared the data that using the two way to send, and found the reason: > use outlook and foxmail: at the beginning of the eamil data is "From zxjteacher_SP_LZU <zxjteacher_SP_LZU at myserver>"; > and if I telnet host 25 to send the mail: at the beginning of the eamil data is "From <zxjteacher_SP_LZU at myserver>", > so I delete "zxjteacher_SP_LZU", dovecot read it out.What exactly do you mean by the above? Do you mean the mbox's "From " line separator is different with them or that you have the mbox "From " line and also the above line? Copy&paste a full example? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090531/0041c9ae/attachment-0002.bin>