
Message Filters: Can I "merge" From:<sender> conditions, so that it will search for more than one email address?
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.
All Replies (5)
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
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.
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.
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?
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.