Why do I get my mails twice when I move them to localfolders with a filter?
I use a filter to move all emails from an IMAP inbox to local folders, but for some awkward reason I get the mail twice.
These are the filters: version="9" logging="yes" name="Verzonden_typeapp" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Verzonden%20Typeapp" action="Stop execution" condition="AND (body,contains,Verzonden door TypeApp)" name="Linkedin" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/LinkedIn" condition="AND (all addresses,contains,linkedin)" name="Test Aankoop" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Trash/Test%20Aankoop" condition="AND (all addresses,contains,test-a)" name="POM" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/POM" condition="AND (all addresses,contains,pom.be)" name="Carrefour" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Carrefour" condition="AND (all addresses,contains,carrefour)" name="Stumble" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Stumble%20Upon" condition="AND (all addresses,contains,stumble)" name="Time to Momo" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Time%20to%20Momo" condition="AND (all addresses,contains,timetomomo)" name="Travelbird" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Trash/Travelbird" condition="AND (all addresses,contains,travelbird)" name="SE" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/SE" condition="AND (all addresses,contains,secretescapes)" name="Tripadvisor" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Tripadvisor" condition="AND (all addresses,contains,tripadvisor)" name="Booking" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Booking" condition="AND (all addresses,contains,booking)" name="Orange" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Orange" condition="AND (all addresses,contains,orange.be)" name="Twitter" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Twitter" condition="AND (all addresses,contains,twitter)" name="Smartschool" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Smartschool" condition="AND (all addresses,contains,smartschoolmail.be)" name="YT" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/YT" condition="AND (from,contains,youtube)" name="StalHop" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Stalhop" action="Stop execution" condition="AND (all addresses,contains,stalhop.be)" name="Paypal" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Zoomit%20%20%26%20Fakturen" action="Stop execution" condition="AND (all addresses,contains,paypal)" name="Octaplus" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Zoomit%20%20%26%20Fakturen" action="Stop execution" condition="AND (all addresses,contains,octaplus)" name="ZoomIt" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Zoomit%20%20%26%20Fakturen" action="Stop execution" condition="AND (all addresses,contains,zoomit)" name="SR" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Sportraad" action="Stop execution" condition="AND (all addresses,contains,sint-genesius-rode.be)" name="Serge" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/Serge" action="Stop execution" condition="AND (from,contains,[email protected])" name="DonBosco" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/DonBosco" action="Stop execution" condition="AND (from,contains,[email protected])" name="Mobile Vikings" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Trash/MV" action="Stop execution" condition="AND (from,contains,mobilevikings)" name="JuJitsu" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc/JuJitsu" action="Stop execution" condition="OR (from,contains,[email protected]) OR (from,contains,[email protected])" name="test" enabled="yes" type="17" action="Copy to folder" actionValue="mailbox://nobody@Local%20Folders/Inbox" action="Delete" condition="ALL" name="Rest gaat naar Marc" enabled="no" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc" action="Stop execution" condition="ALL"
and this is the filter log:
[19/01/2018 11:50:15] Filter ‘Rest gaat naar Marc’ toegepast op bericht van [email protected] - Password reset on support.mozilla.org op 19/01/2018 11:49:50 bericht-id = [email protected] verplaatst naar mailbox://nobody@Local%20Folders/Marc
[19/01/2018 11:50:15] Filter ‘Rest gaat naar Marc’ toegepast op bericht van [email protected] - Password reset on support.mozilla.org op 19/01/2018 11:49:50 uitvoering stopgezet
[19/01/2018 11:50:15] Filter ‘Rest gaat naar Marc’ toegepast op bericht van - op 1/01/1970 1:00:00 bericht-id = verplaatst naar mailbox://nobody@Local%20Folders/Marc
[19/01/2018 11:50:15] Filter ‘Rest gaat naar Marc’ toegepast op bericht van - op 1/01/1970 1:00:00 uitvoering stopgezet
[19/01/2018 11:52:06] Filter ‘Rest gaat naar Marc’ toegepast op bericht van [email protected] - Password reset on support.mozilla.org op 19/01/2018 11:51:55 bericht-id = [email protected] verplaatst naar mailbox://nobody@Local%20Folders/Marc
[19/01/2018 11:52:06] Filter ‘Rest gaat naar Marc’ toegepast op bericht van [email protected] - Password reset on support.mozilla.org op 19/01/2018 11:51:55 uitvoering stopgezet
[19/01/2018 11:52:07] Filter ‘Rest gaat naar Marc’ toegepast op bericht van - op 1/01/1970 1:00:00 bericht-id = verplaatst naar mailbox://nobody@Local%20Folders/Marc
[19/01/2018 11:52:07] Filter ‘Rest gaat naar Marc’ toegepast op bericht van - op 1/01/1970 1:00:00 uitvoering stopgezet
[19/01/2018 12:55:59] Filter ‘Rest gaat naar Marc’ toegepast op bericht van Marc Massart <[email protected]> - PW op 19/01/2018 11:53:56 bericht-id = [email protected] verplaatst naar mailbox://nobody@Local%20Folders/Marc
[19/01/2018 12:55:59] Filter ‘Rest gaat naar Marc’ toegepast op bericht van Marc Massart <[email protected]> - PW op 19/01/2018 11:53:56 uitvoering stopgezet
[19/01/2018 12:55:59] Filter ‘Rest gaat naar Marc’ toegepast op bericht van - op 1/01/1970 1:00:00 bericht-id = verplaatst naar mailbox://nobody@Local%20Folders/Marc
[19/01/2018 12:55:59] Filter ‘Rest gaat naar Marc’ toegepast op bericht van - op 1/01/1970 1:00:00 uitvoering stopgezet
Note the date in the second occurance: 1/01/1970 and the absence of a title, sender, etc..
تمام جوابات (4)
I guess it is a timing issue. Change the filter to "after junk classification" and see if that changes the result as it forces filter execution to await the complete download of the message.
Change the filter and now instead of having 2 copies, the mail just stays in my IMAP inbox although the filter log says it has been moved:
[22/01/2018 9:17:33] Filter ‘Rest gaat naar Marc’ toegepast op bericht van Marc Massart <[email protected]> - test move to Marc op 22/01/2018 9:12:56 bericht-id = [email protected] verplaatst naar mailbox://nobody@Local%20Folders/Marc
[22/01/2018 9:20:00] Filter ‘Rest gaat naar Marc’ toegepast op bericht van Marc Massart <[email protected]> - Fwd: test move to Marc op 22/01/2018 9:17:20 bericht-id = [email protected] verplaatst naar mailbox://nobody@Local%20Folders/Marc
Filters: name="Rest gaat naar Marc" enabled="yes" type="48" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Marc" action="Stop execution" condition="ALL"
And I missing something obvious?
I would start with removing the stop. A move forces the filter to stop because it is no longer there.
I've circumvented the problem by copying the mail first to the local folder and then remove the mail from the IMAP inbox and that seems to work.
I'll investigate further.