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!

Ovo će web mjesto raditi na ograničen način, dok obavljamo održavanje stranice. Ako neki članak ne riješi tvoj problem i ako želiš postaviti pitanje, naša zajednica za podršku spremna je pomoći na Twitteru @FirefoxSupport i na Redditu /r/firefox.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

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 odgovora
  • 2 imaju ovaj problem
  • 1 prikaz
  • Posljednji odgovor od 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).

Izabrano rješenje

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!

Pročitaj ovaj odgovor u kontekstu 👍 0

Svi odgovori (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

Odabrano rješenje

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!