搜尋 Mozilla 技術支援網站

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

了解更多

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,[email protected]) 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,[email protected]) 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,[email protected]) 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,[email protected]) 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/