為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I have complex arrangement of filters?

  • 5 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 ArtKendall

more options

I would like to separate my incoming mail first those messages where [from] is in any of my address lists.

I would then want to apply a set of filters sorting them into folders with the residual going into a separate folder.

Then I would like to have those messages go through the junk filters and another set of filters with the residual going into a separate folder.

I cannot find how to specify that is message is in ANY of my address list. I work around that by having several filter.

I cannot find how to specify ELSE.

this is what I would like to do.

[From] [Is in my address book folders] [collected addresses] ==> set of filters A [From] [Is in my address book folders] [personal addresses] ==> set of filters A From] [Is in my address book folders] [discussion lists] ==> set of filters A

[From] [Isn’t in my address book folders] [collected addresses] ==> set of filters B [From] [Isn’t in my address book folders] [personal addresses] ==> set of filters B From] [Isn’t in my address book folders] [discussion lists] ==> set of filters B


Set of filters A A1 ==> Family folder A2 ==> Travel offers folder A3 ==> discussion and news folders A3 ==> projects folders A4 ==> Business folders A5 ==> Human rights folder A6 -auto answer on vacation ==> trash A7 out of office ==> trash ... else ==> known sender folder


Set of filters B Junk filters B1 common scams1 ==> trash B2 common scams2 ==>trash ... Else ==> suspicious email folder.

I would like to separate my incoming mail first those messages where [from] is in any of my address lists. I would then want to apply a set of filters sorting them into folders with the residual going into a separate folder. Then I would like to have those messages go through the junk filters and another set of filters with the residual going into a separate folder. I cannot find how to specify that is message is in ANY of my address list. I work around that by having several filter. I cannot find how to specify ELSE. this is what I would like to do. [From] [Is in my address book folders] [collected addresses] ==> set of filters A [From] [Is in my address book folders] [personal addresses] ==> set of filters A From] [Is in my address book folders] [discussion lists] ==> set of filters A [From] [Isn’t in my address book folders] [collected addresses] ==> set of filters B [From] [Isn’t in my address book folders] [personal addresses] ==> set of filters B From] [Isn’t in my address book folders] [discussion lists] ==> set of filters B Set of filters A A1 ==> Family folder A2 ==> Travel offers folder A3 ==> discussion and news folders A3 ==> projects folders A4 ==> Business folders A5 ==> Human rights folder A6 -auto answer on vacation ==> trash A7 out of office ==> trash ... else ==> known sender folder Set of filters B Junk filters B1 common scams1 ==> trash B2 common scams2 ==>trash ... Else ==> suspicious email folder.

被選擇的解決方法

Thank you for your help. I am posting this workaround for your points 2,3, and 4. In case it might help others.

The order of the filters can work as an implicit ELSE since each subsequent filter only works on messages that have not been moved to another folder.

  1. create a stack of filters that meet conditions you can specify and that move messages to specific folders. This can be many filters that are executed in the order in the list.
  2. create a filter with as many lines as necessary to move residual messages that are from senders in your address books. I call this folder "known senders". In my situation that is a filter with 4 conditions joined by OR. (I.,e, that filter is an ANY filter.
  3. create a psuedo-ELSE filter by testing whether the subject in residual messages is a very improbable string like if subject isn't '~@#$%^&*()(*&^%$#@!' move it to a specific folder. I call that folder "suspicious mail"
從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

You'll have to specify something as filter criteria that's present (or not) in the actual message.

http://kb.mozillazine.org/Filters_%28Thunderbird%29

more options

thank you for replying.

I am going to try ordering my filters this way. I should get to this over the next few days. I'll reply to this thread when I see how my idea works out.

  1. Set of filters A. These move messages to specific folders business, travel offers, friends, etc.
  1. 4 filters that move messages that are in any of my address lists to a folder called "known sender"
  1. Set of filters B. junk mail that did not get caught by the junk filter. Each filter end with 2 actions: mark as junk and delete
  1. a filter that emulates a single ELSE condition check by ending the whole set of filters with a filter that tests whether a subject contains a very unlikely string. E.g., the "Subject" "isn't" "~!@#$%^&*()_+i" move it to a folder named "suspicious".

the order of the sets could also be 1,3,2,4.

more options
  1. filters work in the order you create them.
  2. Filters do not have an else
  3. You can not specify an entire address book for a filter.
  4. You can not call another filter from a filter

This add-on might help you get where you want to go. https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/

Instructions http://mesquilla.com/extensions/filtaquilla/

more options

選擇的解決方法

Thank you for your help. I am posting this workaround for your points 2,3, and 4. In case it might help others.

The order of the filters can work as an implicit ELSE since each subsequent filter only works on messages that have not been moved to another folder.

  1. create a stack of filters that meet conditions you can specify and that move messages to specific folders. This can be many filters that are executed in the order in the list.
  2. create a filter with as many lines as necessary to move residual messages that are from senders in your address books. I call this folder "known senders". In my situation that is a filter with 4 conditions joined by OR. (I.,e, that filter is an ANY filter.
  3. create a psuedo-ELSE filter by testing whether the subject in residual messages is a very improbable string like if subject isn't '~@#$%^&*()(*&^%$#@!' move it to a specific folder. I call that folder "suspicious mail"
more options

I should have mentioned that I frequently mark messages in the "suspicious" folder as junk. Or I create new filters from messages the "suspicious" or "known sender".