Robert JR
2012-Oct-10 15:07 UTC
[Dovecot] Fwd: Re: Dovecot doesnot disconnect at end of pop3 session
On 2012-10-10 17:47, Jack Bates wrote:> On 10/10/2012 9:40 AM, Robert JR wrote: > >> telnet mymail.com 110 user username pass password list quit all >> commands work except the quit command, Dovecot hang at this point >> !!! >> Why Dovecot hang on receiving the Quit command !!! and doesnot >> disconnect !! > Please include your dovecot version. Also, does the list command end > with a line that contains a period? You might want to include dovecot > -n > as well, which will show everyone what your mail storage type is and > other relevant information. Jack# 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-279.9.1.el6.x86_64 x86_64 CentOS release 6.3 (Final) auth_mechanisms = plain login auth_username_format = %Lu disable_plaintext_auth = no mail_debug = yes mail_location = mbox:~/mal:INBOX=/var/mail/%u mbox_write_locks = fcntl passdb { driver = pam } ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { driver = passwd } protocol pop3 { mail_max_userip_connections = 4 pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_uidl_format = %08Xu%08Xv } Please find the output of dovecot -n list command return msg number and size only. Thanks
Jack Bates
2012-Oct-10 15:42 UTC
[Dovecot] Fwd: Re: Dovecot doesnot disconnect at end of pop3 session
On 10/10/2012 10:07 AM, Robert JR wrote:> > list command return msg number and size only. > ThanksBelow is the proper format you should see. The line with a period at the end is required to show that the list command has completed. If you do not get that, then the server hasn't successfully completed the list command to accept new commands. Check your logs for any mention of the connection and errors that might have generated. If you are using NFS, there are several issues with locking that can be problematic. If you are getting the '.' line, then try other commands besides quit. It is important to determine if the code is ignoring input or if it has a problem with the actual quit code. Also, I notice you mentioned several hours. It would be useful to know if this occurs on startup or if it fails over time. It is also useful to know if it effects all accounts or just some of the active accounts. It is also useful to know if there are people currently logged in on those accounts when you perform your test. telnet localhost 110 Trying ::1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. user **** +OK pass **** +OK Logged in. list +OK 3 messages: 1 2821 2 5907 3 11171 . quit +OK Logging out. Connection closed by foreign host.
Apparently Analagous Threads
- ChgrpNoPerm issue
- users doesnot forced to change their password although I already ran pdbedit
- [LLVMdev] [lld] -emit-yaml doesnot contain linker added symbols specified with command line options
- Issue with mailbox conversion using dsync in v2.2.32 (maildir <-> mdbox)
- Error: read(/var/run/dovecot/dict-server) failed: Remote disconnected