GNOME Bugzilla – Bug 350326
IMAP: Don't filter messages that have just been moved to Inbox
Last modified: 2009-10-28 05:10:45 UTC
When the user moves unread messages from a folder to the Inbox, those messages should not then be filtered. Filtering them after they have been moved can result in those messages being moved back to the folder they were orginally in. E.g., a message is downloaded and automatically placed in the "Mailing Lists" folder. The user decides he doesn't want it in that folder, and moves it back to the Inbox for safe keeping. Evolution then sees this unread message in the Inbox and filters it again, moving it back to the "Mailing Lists" folder. Other information: This may only happen with IMAP accounts.
this is very difficult to keep track of because we don't know what the new message uid will be once it is moved back to the INBOX and impossibility of it all just escalates if the user moves messages with any other client (webmail included). this is just another reason why client-side IMAP filtering is just a broken concept and doomed to failure.
Just off of the top of my head, would it be possible to (for example) calculate the md5 checksum of the message (headers + body) and use that as a universal ID? It seems extremely unlikely that the user would have two completely identical messages, and the overhead would be unnoticable for small messages. Or perhaps evolution could add a header to each message when uploading to an IMAP server containing an internal ID number (or even just a flag to tell it not to filter it again)?
you can't be serious :) in order to add a header to each of the messages, they'd all have to be fully downloaded and then have the header appended and re-uploaded (in full) again, deleting the original copies. Users complain plenty already that Evolution's message-list summary-info fetching takes entirely too long (and I'd agree it does), this type of change will totally not fly with the average IMAP user. Not all IMAP servers allow custom flags and even that won't help if the user uses multiple mail clients (one from home and one from work, for example)
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 215672 ***