为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 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).

被采纳的解决方案

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!

定位到答案原位置 👍 0

所有回复 (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

选择的解决方案

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!