This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can i use a composite filter with AND and OR conditions?

  • 1 (رد واحد)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه Matt

more options

Hello. I use a lot of filters. All of these are like: "AND (from,is,adrress@domain.com) AND (subject,contains,text) AND (subject,contains,serverX)"

I would like to use a filter with a composite condition with AND and OR conditions like: "AND (from,is,nagios@domain.com) AND (subject,contains,text) AND ( (subject,contains,server1) OR (subject,contains,server2) )"

But seems it is not possible. I have edited msgFilterRules.dat file and have tried some types of these constructions in filters but none works. Is it not possible?

Thanks

Hello. I use a lot of filters. All of these are like: "AND (from,is,adrress@domain.com) AND (subject,contains,text) AND (subject,contains,serverX)" I would like to use a filter with a composite condition with AND and OR conditions like: "AND (from,is,nagios@domain.com) AND (subject,contains,text) AND ( (subject,contains,server1) OR (subject,contains,server2) )" But seems it is not possible. I have edited msgFilterRules.dat file and have tried some types of these constructions in filters but none works. Is it not possible? Thanks

All Replies (1)

more options

You will need to use the filtaquilla add-on and javascript

Add-on https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/ Authors blog post with instructions http://mesquilla.com/extensions/filtaquilla/