Version: 1.13.2 (using 4.4.2 (KDE 4.4.2), Arch Linux) Compiler: gcc OS: Linux (i686) release 2.6.33-ARCH KMail sometimes fetches Mails multiple times without deleting them from the Server as it is supposed to. This leads to my Mailbox being cluttered with the same mails in triplicate or more which is quite annoying. Sometimes the only Solution is for me to delete the Mails on the corresponding Servers myself using the web interface. Weird is that after some time, sometimes an hour, sometimes much more KMail suddenly deletes fetched mails from the server. So far I have been unable to see a recognizable pattern in this behaviour.
Created attachment 42903 [details] Screenshot showing the Duplicate Mails and KMail Settings As you can see: The mail is already 4 times in the Mailfolder on my PC but has yet to be deleted from the server. The Setting in KMail however is as it should be.
This just hit me, too... KMail 1.13.3 on KDE 4.4.3 on Debian Testing... Everything was working fine prior to upgrade (KDE 4.3.4). Server is Dovecot 1.0.10 on Centos 4.6. Server was not changed for several months before the upgrade of the KMail client this week... Inspecting the log file on the server, it appears that KMail retrieves all the messages, but only deletes a few or none each time... It takes several retrievals before all are deleted. dovecot: May 28 09:29:06 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: May 28 09:29:10 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=52/1365136, del=19/52, size=1364235 dovecot: May 28 09:30:05 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: May 28 09:30:06 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=30/1230250, del=20/33, size=1256810 dovecot: May 28 09:31:06 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: May 28 09:31:07 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=13/80565, del=1/14, size=84566 dovecot: May 28 09:32:07 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: May 28 09:32:08 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=13/80565, del=1/13, size=80341 dovecot: May 28 09:33:08 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: May 28 09:33:08 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=9/57419, del=12/12, size=74266 dovecot: May 28 09:34:08 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: May 28 09:34:08 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Another report of similar problems: http://lists.debian.org/debian-kde/2010/03/msg00050.html I'll see about turning up logging on the server, to see if I can get anything else which helps...
Okay, I turned on mail debugging in dovecot, and I got this for the commands received by dovecot during each retrieval. Clearly something is going wrong with the commands sent... ==> 20100531-154844-29672.in <== LIST UIDL RETR 1 RETR 10 RETR 11 RETR 12 RETR 13 RETR 14 RETR 15 RETR 16 RETR 17 RETR 18 RETR 19 RETR 2 RETR 20 RETR 21 RETR 22 RETR 23 RETR 24 RETR 25 RETR 26 RETR 3 RETR 4 RETR 5 RETR 6 RETR 7 RETR 8 RETR 9 DELE 11 DELE 12 DELE 13 DELE 14 DELE 15 DELE 16 DELE 1 DELE 10 QUIT ==> 20100531-154948-29689.in <== LIST UIDL RETR 1 RETR 10 RETR 11 RETR 12 RETR 16 RETR 17 RETR 18 RETR 2 RETR 3 RETR 4 RETR 5 RETR 6 RETR 7 RETR 8 RETR 9 DELE 11 DELE 3 DELE 12 DELE 4 DELE 13 DELE 14 DELE 15 DELE 16 DELE 17 DELE 18 DELE 1 DELE 10 DELE 2 QUIT ==> 20100531-155030-29747.in <== LIST UIDL RETR 1 RETR 2 RETR 3 RETR 4 RETR 5 DELE 3 DELE 1 DELE 2 QUIT ==> 20100531-155038-29750.in <== LIST UIDL RETR 1 RETR 2 DELE 1 DELE 2 QUIT
Interestingly, paying more attention to the logged values: KMail doesn't always retrieve all the messages, either! The first pass seems to download everything, and delete some... But then the next few passes might only download 10 out of 14, and delete 11 out of the 14... dovecot: Jun 01 10:24:17 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: Jun 01 10:24:23 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=40/1006345, del=26/40, size=1005645 dovecot: Jun 01 10:24:44 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: Jun 01 10:24:45 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=10/50007, del=11/14, size=69960 dovecot: Jun 01 10:25:04 Info: pop3-login: Login: user=<user@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: Jun 01 10:25:04 Info: POP3(user@example.org): Disconnected: Logged out top=0/0, retr=3/19356, del=0/3, size=19303
Okay, whatever it was, it was either fixed, or the incidence rate seems to have slowed down dramatically in kmail 4.4.5. I haven't noticed this in a while. (Server still unchanged, kmail upgraded to kmail_4.4.5-1_i386 on debian squeeze.) I will continue to monitor this, and will report back if there are any more duplicates created.
Seems like this is a duplicate of bug 230072 where this was fixed. Didn't see this problem in a while now, too. *** This bug has been marked as a duplicate of bug 230072 ***