Charlie Brune
2011-Aug-13 19:44 UTC
[CentOS] dovecot problem -- not deleting messages from server after downloading them
I recently installed CentOS 6.0 and Dovecot 2.0. My problem is that, when I download emails to my laptop (running Thunderbird), the emails are NOT deleted from my server. They stay there and are downloaded again and again. 8-( The "Leave messages on server" option in Thunderbird is not checked. I have several laptops that used to work when I ran CentOS 5.6 / Dovecot 1.x. I haven't changed their configuration and they all have the same problem. Here's a sample (personal data removed) of /var/log/maillog when I download messages (note the "del=0/487" on the 2nd line): Aug 13 14:28:54 chasserver dovecot: pop3-login: Login: user=<centos>, method=PLAIN, rip=192.168.0.2, lip=192.168.0.27, mpid=18393, TLS Aug 13 14:29:28 chasserver dovecot: pop3(centos): Disconnected: Logged out top=0/0, retr=487/2134628, del=0/487, size=2126323 My "dovecot -n" output is below. Thanks, Charlie # dovecot -n # 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-71.29.1.el6.i686 i686 CentOS Linux release 6.0 (Final) mail_location = mbox:~/mail: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 }
Alexander Dalloz
2011-Aug-13 20:14 UTC
[CentOS] dovecot problem -- not deleting messages from server after downloading them
Am 13.08.2011 21:44, schrieb Charlie Brune:> I recently installed CentOS 6.0 and Dovecot 2.0. > > My problem is that, when I download emails to my laptop (running > Thunderbird), the emails are NOT deleted from my server. They stay > there and are downloaded again and again. 8-( > > The "Leave messages on server" option in Thunderbird is not checked. > > I have several laptops that used to work when I ran CentOS 5.6 / Dovecot > 1.x. I haven't changed their configuration and they all have the same > problem. > > Here's a sample (personal data removed) of /var/log/maillog when I > download messages (note the "del=0/487" on the 2nd line): > > Aug 13 14:28:54 chasserver dovecot: pop3-login: Login: user=<centos>, > method=PLAIN, rip=192.168.0.2, lip=192.168.0.27, mpid=18393, TLS > Aug 13 14:29:28 chasserver dovecot: pop3(centos): Disconnected: Logged > out top=0/0, retr=487/2134628, del=0/487, size=2126323 > > My "dovecot -n" output is below. > > Thanks, > Charlie > > # dovecot -n > # 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-71.29.1.el6.i686 i686 CentOS Linux release 6.0 (Final) > mail_location = mbox:~/mail: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 > }According to the POP3 protocol messages are first marked to be deleted by the server on DELE command, but only really deleted in the UPDATE state, means after the QUIT command. Alexander
Charlie Brune
2011-Aug-14 01:00 UTC
[CentOS] dovecot problem -- not deleting messages from server after downloading them - SOLVED
On 08/13/2011 02:44 PM, Charlie Brune wrote:> I recently installed CentOS 6.0 and Dovecot 2.0. > > My problem is that, when I download emails to my laptop (running > Thunderbird), the emails are NOT deleted from my server. They stay > there and are downloaded again and again. 8-( > > The "Leave messages on server" option in Thunderbird is not checked. > > I have several laptops that used to work when I ran CentOS 5.6 / Dovecot > 1.x. I haven't changed their configuration and they all have the same > problem. > > Here's a sample (personal data removed) of /var/log/maillog when I > download messages (note the "del=0/487" on the 2nd line): > > Aug 13 14:28:54 chasserver dovecot: pop3-login: Login: user=<centos>, > method=PLAIN, rip=192.168.0.2, lip=192.168.0.27, mpid=18393, TLS > Aug 13 14:29:28 chasserver dovecot: pop3(centos): Disconnected: Logged > out top=0/0, retr=487/2134628, del=0/487, size=2126323 > > My "dovecot -n" output is below. > > Thanks, > Charlie > > # dovecot -n > # 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-71.29.1.el6.i686 i686 CentOS Linux release 6.0 (Final) > mail_location = mbox:~/mail: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 > } > > > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >I solved the problem by disabling SELinux. Not sure why that fixed it, but it did make me dislike SELinux just a little bit more. LOL Regards, Charlie