Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 1 отговор
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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

Всички отговори (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/