[Dovecot] Post login script issue with pop3 protocol

Zhang Huangbin zhbmaillistonly at gmail.com
Wed Nov 4 03:49:23 EET 2009


On Nov 4, 2009, at 2:42 AM, Timo Sirainen wrote:
>
> Looks like it writes some error message to POP3 session.
>
> 1) Did you look at Dovecot's error log yet to see if this script  
> logged
> something?

No error logs in dovecot log file.

All logs during the telnet testing session:
----
dovecot: Nov 03 20:45:45 Info: pop3-login: Disconnected (no auth  
attempts): rip=192.168.187.1, lip=192.168.187.128
dovecot: Nov 03 20:45:51 Info: pop3-login: Login: user=<www at a.cn>,  
method=PLAIN, rip=192.168.187.1, lip=192.168.187.128
dovecot: Nov 03 20:46:08 Info: POP3(www at a.cn): Disconnected: Logged  
out top=0/0, retr=1/1453, del=0/1, size=1436
----

> 2) Log in with telnet to see what exactly it's writing.
> http://wiki.dovecot.org/TestPop3Installation

It seems works fine:
----
$ telnet r6 110
Trying 192.168.187.128...
Connected to r6.
Escape character is '^]'.
+OK Dovecot ready.
user www at a.cn
+OK
pass www
+OK Logged in.
modifying entry  
"mail=www at a.cn,ou=Users,domainName=a.cn,o=domains,dc=iredmail,dc=org"

stat
+OK 1 1436
retr 1
+OK 1436 octets
<Mail content here>
----

After telnet testing, i use Thunderbird to test it again, but it  
failed with same error message i posted in previous mail:
----
The STAT command did not succeed. Error getting message number and  
sizes.
Mail server r6.iredmail.org responsed: ying entry
"mail=www at a.cn,ou=Users,domainName=a.cn,o=domains,dc=iredmail,dc=org"
----

Is it OK?

-- 
Best Regards.

Zhang Huangbin

- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux,
   CentOS, Debian, Ubuntu: http://www.iredmail.org/



More information about the dovecot mailing list