https://bugs.kde.org/show_bug.cgi?id=316153
--- Comment #31 from Kim Lilliestierna <k...@itr.no> --- Mucked around a bit with this, I have access to 2 different imap servers on is a Dovecot the other A Courier, it works ok on the Dovecot not on the Courier, After enabling debugging on the akonadi IMAP resource i see one very important difference: on the Dovecot case the EXPUNGE command is sent regularly, on the Courier it does not. This explains the behavior: Deleting a message in IMAP only marks it as \DELETED but it still exists and Kmail vill act upon it as if it where a regular message, to really get rid of the message a EXPUNGE command need to be sent to the IMAP server for the folder in question. Moving a file entails first copying it and then deleting the original. And since the original only gets marked and Kmail is a bit stupid there, any auto scripts that you might be running goes nuts with the moving. I asume that the above 1/2 solution with an alternate mail client works since they probably send of the EXPUNGE and cleans out the crap :) So why the different behavior on different servers?, im guessing some (not) so smart decision is being made based on the servers capability report. So, either add a "force EXPUNGE" command/button/menu entry/whatever and have Kmail ignore mails with the \DELETED flag set, at the least when scripts are running. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs