搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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/