Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Message filter to copy msg to imap folder and then move msg to a local folder always works re: local folder but somtimes the msg is missing from imap folder.

  • 6 antwoorden
  • 2 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van fjriskey

more options

I use one message filter to perform two actions on certain messages: 1) Copy message to an imap folder 2) Move message to a local folder.

Usually this works; the message is in the imap folder and the local folder, and is not in the Inbox. But about 10% of the time the message shows in my local folder but not the corresponding imap folder. I compare the contents of the local folder and the imap folder, and the local folder will have messages that the imap folder is missing. I can then copy the messages to the imap folder but I want to avoid manually checking.

Any ideas what could be occurring? (I just enabled the Filter Log to see if anything interesting shows there).

I use one message filter to perform two actions on certain messages: 1) Copy message to an imap folder 2) Move message to a local folder. Usually this works; the message is in the imap folder and the local folder, and is not in the Inbox. But about 10% of the time the message shows in my local folder but not the corresponding imap folder. I compare the contents of the local folder and the imap folder, and the local folder will have messages that the imap folder is missing. I can then copy the messages to the imap folder but I want to avoid manually checking. Any ideas what could be occurring? (I just enabled the Filter Log to see if anything interesting shows there).

Gekozen oplossing

I swapped the operations to be 1) copy to local folder, 2) move to imap folder. I set Filter before classification. This works reliably so I will mark the issue solved.

Matt, thank you for your assistance!

Dit antwoord in context lezen 👍 0

Alle antwoorden (6)

more options

Are you running the filter after classification. Doing so often fixed weird issues like these.

more options

No, I was running the default, "Filter before classification". I just changed them all to "Filter after classification". Thank you for the suggestion, I will give it a day or so and then respond with results.

more options

Well, that didn't take long to show results, but it is not good. When I start TB I see the number of new messages in both the imap folders and the local folders are the same. Within a couple of seconds though all the new emails are moved from the imap folders to the local folders so that I end up with 2 copies of each email in the local folder and none in the corresponding imap folder. This only started after I set all to "Filter after classification".

more options

I confirmed that "Run selected filter(s) on: Inbox" only, not the other imap folders.

I do have each filter set "Apple filter when: Manually Run" and "Getting New Mail".

My first action is to Copy Message to imap folder, the second action is Move Message to Local Folder. I could try to swap those actions as an experiment.

more options

once you move the message, it is gone from the folder, so the rest of that filter will fail if your then try and copy it.

Given the IMAP action involves a round trip to the mail server, I would try copy to IMAP and follow that with a move to the local folder. But how that works out will depend, I think, entirely on how quickly the round trip to the IMAP server occurs.for the copy. That also depends on the server implementation of IMAP. Some server software copies and deletes to move. Others simply Move from folder to folder.

It might actually work better as two filters. Same basic criteria. First one to copy and then one to move. Or copy twice and delete

more options

Gekozen oplossing

I swapped the operations to be 1) copy to local folder, 2) move to imap folder. I set Filter before classification. This works reliably so I will mark the issue solved.

Matt, thank you for your assistance!