GNOME Bugzilla – Bug 330501
Mail filters don't work
Last modified: 2006-02-10 01:26:30 UTC
Please describe the problem: I have some filters that must be applied to IMAP mail. However, the filters don't work correctly and I end with a copy of the filtered e-mail in the correct destination folder and another one in the Trash. Steps to reproduce: 1. Create filter 2. Apply filter 3. Mail is filtered and a copy of it is sent to the trash Actual results: Mail that has to be moved to another folder according to the rules is moved correctly but a copy of it is sent to the trash Expected results: Mail soud be moved to the correct folder. No copy should be sent to Trash Does this happen every time? Yes Other information:
Created attachment 58983 [details] Log of an Evolution session when applying the filter This is a log of an Evolution session where I reproduce the bug.
Created attachment 58984 [details] The filters.xml file I use when filtering mail This is an example of a filters.xml file I use when reproducing the bug
This is not a bug, but correct behavior and a design choice. Actually a duplicate of bug 329946. For explanation: Moving a mail actually is "copy and delete". This is the correct method to use. Since the mail is not physically moved, but the data can be copied only. After copying is done successful, the source mail is deleted. Related note: Deleting a mail actually marks the mail for deletion, but does not remove the mail physically. Disable "View / Hide Deleted Messages" to see the "deleted" messages in any folder. The Trash folder actually is a Search Folder, displaying all marked-for-deletion (aka "deleted") mails. Thus, with Hide Deleted Messages disabled you can see the mail you just moved being marked as deleted in the source folder. In the case of IMAP, there doesn't exist any "move" command IIRC. Instead, the IMAP protocol explicitely prefers "copy and delete" for security reasons. Thanks for taking the time to report this issue and providing a lot of details. :-) Please feel free to report any further issue you find. *** This bug has been marked as a duplicate of 329946 ***
Another note: The "copy" you mention in the Trash folder is not a copy. It simply is the original mail that has been "moved" (copied and deleted) according to your Filters.