Closed Bug 557548 Opened 15 years ago Closed 7 years ago

Filter email message to folder moves message to folder and creates duplicate in Trash.

Categories

(MailNews Core :: Filters, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: krock, Unassigned)

References

Details

(Whiteboard: [223 upgrade?])

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 I upgraded from Thunderbird 2 to 3.0.4 (not sure if that might have anything to do with the issue) and noticed that my filter is working, but it is also creating an identical email copy in my Server side Trash folder. I tried creating new filters to duplicate the problem, but it still only occurs with the original filter. I plan on recreating the filter, but I'm not the only person experiencing this problem at my office - some people have more filters than I. Here is how my filter is setup: Filter name: <email name> - Put in Local Folders Apply filter when: Checking Mail or Manually Run Match any of the following selected To: contains: <email name>@address.com CC: contains: <email name>@address.com Perform these actions: Move Message to: <email name> on Local Folders Reproducible: Always Steps to Reproduce: 1.I've been unable to reproduce with new filters, but will keep trying 2.I'd like to try to setup a system running version 2, create the filters, upgrade to 3 and see if I have the problem - haven't tried that yet. 3.
Have you tried safe mode? (see https://support.mozillamessaging.com/en-US/kb/Safe+Mode for more information) Also, what does Account Settings -> Server Settings -> Advanced… say?
Component: General → Filters
Product: Thunderbird → MailNews Core
QA Contact: general → filters
Whiteboard: [223 upgrade]
Advanced says: IMAP server directory: Show only subscribed folders: <checked> Server supports folders that contain sub-folders and messages: <checked> Use IDLE command if the server supports it: <checked> Maximum number of server connections to cache: 5 Personal namespace: "" Public (shared): Other Users: "Shared Folders/User/" Allow server to override these namespaces: <checked> In regards to safe mode, I will test this out as soon as I can. Thank you!
I tried safe mode as well, still no change. I did update my filters this morning - deleted them and then recreated them. I'll let you know if this helps. Also, I noticed this morning that I had 4 messages in my trash that were email drafts I created earlier in the day. Could this be some latency issue between Thunderbird and the University's IMAP service?
Can you get a protocol log (https://wiki.mozilla.org/MailNews:Logging) and attach it here? Specifically, enable logging per the link and send a test message that should hit the filter, then once it does, close Thunderbird and attach the log here.
Whiteboard: [223 upgrade] → [223 upgrade?]
I'm assuming that, in the account's Server Settings, you've got When I delete a message: (*) Move it to [Trash] Moving a message from an IMAP account isn't a true Move but a Copy+Delete. I don't know if it's possible in IMAP to delete different messages in different ways. I use the "mark as deleted" model and filtered messages are left in the Inbox but marked as deleted; I have to Compact the folder to be fully rid of them. Same for Drafts -- the draft gets saved repeatedly, and the old version is getting deleted. Once the message is sent, there's still a deleted copy in the Drafts folder. I have my IMAP accounts configured to store drafts in a local folder. In the very rare case where I want to work on a message from multiple clients, I'll manually copy the final draft into the IMAP Drafts folder. So I think this is working as expected. If IMAP does allow, say, "remove immediately" for certain messages, then it would be an RFE to implement that for messages moved by filter, or for overwritten Drafts.
See bug 167173 -- similar symptom, different deletion model.
bienvenu, rkent, do you agree with comment 5 (and implications for comment 6)
I would not expect a move to create a copy in trash. And on my system, where I virtually never manually delete emails, my trash is almost empty in spite of daily moves of lots of messages from one IMAP folder. I have the delete model of "Move to trash" set as well. So I do not agree with "So I think this is working as expected." - both because it is not how I observe it working, and not how I expect it to work.
See Also: → 519083
I've never seen this and reporter address is dead
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.