Re: [Dovecot] imap cann't read the mail that foxmail send

2009-05-31 Thread Timo Sirainen
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_...@myserver;
 and if I telnet host 25 to send the mail: at the beginning of the eamil data 
 is From zxjteacher_sp_...@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? Copypaste a full example?



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] imap cann't read the mail that foxmail send

2009-05-19 Thread Charles Marcus
On 5/18/2009, wallace0615 (wallace0...@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.


[Dovecot] imap cann't read the mail that foxmail send

2009-05-18 Thread wallace0615

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_...@myserver;
and if I telnet host 25 to send the mail: at the beginning of the eamil data is 
From zxjteacher_sp_...@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.