Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Message Filters: Can I "merge" From:<sender> conditions, so that it will search for more than one email address?

  • 5 件の返信
  • 0 人がこの問題に困っています
  • 14 回表示
  • 最後の返信者: sfhowes

more options

I have a lot of mailing lists, newsletters, and a few notification emails I want to use message filters on. Is there a way to force the message filters to search for more than one email address per line, especially for those that I want to also keep the last 2 weeks or the last 30 days? I am hoping for something as simple as a comma separator, but I have not yet found the solution.

FTR, I do know I can add additional emails with the + button, but then I need a separate filter just so I can also filter older than 30 days or any other additional condition.

I have a lot of mailing lists, newsletters, and a few notification emails I want to use message filters on. Is there a way to force the message filters to search for more than one email address per line, especially for those that I want to also keep the last 2 weeks or the last 30 days? I am hoping for something as simple as a comma separator, but I have not yet found the solution. FTR, I do know I can add additional emails with the + button, but then I need a separate filter just so I can also filter older than 30 days or any other additional condition.

すべての返信 (5)

more options

Please write a sample conditional statement of whatever it is that would like the filter to do and someone here may have a suggested approach. Seeing a sentence of the logic will help us understand the intent. Thank you

more options

Here's my examples. For now, my solution is to filter these messages into folders in large batches into folders with one filter, then use a separate filter on the folders to delete messages based on the specific criteria.

more options

If you create an address book, e.g. Whitelist, a filter can be made as in the attached picture. To add contacts to any address book from a message header, click the star icon next to the sender, twice, and select the desired address book. Contacts can also be copied between address books by drag and drop, while holding Ctrl; normal drag and drop moves contacts.

more options

I'd like to do the something and I'm willing to edit the msgFilterRules.dat file but I haven't been able to find a specification/ rules for the condition statement. Is there an API spec somewhere For instance I have the following rule: condition="AND (from,contains,substack.com) AND (age in days,is greater than,3)"

That I'd love to have something like condition="AND (OR (AND (from,contains,substack.com),

                                    AND (from,contains,medium.com)
                                   )
                           , AND (age in days,is greater than,3)
                           )"

Is there a spec or API for the message filter object/ function?

more options

Steve S said

I'd like to do the something and I'm willing to edit the msgFilterRules.dat file but I haven't been able to find a specification/ rules for the condition statement. Is there an API spec somewhere For instance I have the following rule: condition="AND (from,contains,substack.com) AND (age in days,is greater than,3)" That I'd love to have something like condition="AND (OR (AND (from,contains,substack.com), AND (from,contains,medium.com) ) , AND (age in days,is greater than,3) )" Is there a spec or API for the message filter object/ function?

You could create 2 filters as in the attached picture for substack and medium. It's not possible to combine AND and OR conditions in the same filter.