From kmail-devel Fri Dec 29 01:34:00 2006 From: Adam Porter Date: Fri, 29 Dec 2006 01:34:00 +0000 To: kmail-devel Subject: [Bug 139341] New: Filters + dIMAP causes filtered messages to Message-Id: <20061229023357.139341.bugs.kde.org () alphapapa ! net> X-MARC-Message: https://marc.info/?l=kmail-devel&m=116735605829048 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139341 Summary: Filters + dIMAP causes filtered messages to temporarily disappear until folder is refreshed Product: kmail Version: unspecified Platform: Debian testing OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kmail-devel kde org ReportedBy: bugs.kde.org alphapapa net Version: (using KDE KDE 3.5.5) Installed from: Debian testing/unstable Packages I've noticed this behavior for some time, but I think I finally understand what's happening well enough to be able to report it. Disconnected IMAP account used with incoming message filters: 1. Message arrives in "inbox", the root folder for the dIMAP account. 2. KMail downloads the message when the account is synced. 3. After downloading the message, KMail runs the configured filters on it, finding a header match, and moving it to a subfolder in the dIMAP account. 4. The message disappears from "inbox" and appears in the subfolder. 5. The sync process has continued while this is going on, and *after the message is moved to the subfolder*, the sync process reaches the subfolder that the message was moved to. 6. According to the IMAP server, the message that was just moved to the subfolder is not in the subfolder, so KMail removes it from the local copy of the subfolder. Hence, message disappears. 7. KMail uploads messages in the subfolder to the IMAP server that are not currently on the IMAP server's copy of the subfolder. 8. The sync process continues to other subfolders in the dIMAP account. 9. On the *next* account sync or refresh of that individual subfolder, KMail redownloads the filtered message from the server. Hence, message reappears. This behavior is very consistent; I've been seeing it for months. It's quite reliable too; the messages always reappear in the right place on the second sync/refresh. It's quite annoying, though, to have to double-sync/refresh your account to see all your new messages. _______________________________________________ KMail developers mailing list KMail-devel@kde.org https://mail.kde.org/mailman/listinfo/kmail-devel