Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

I want to set a message filter 'to contains' and multiple OR conditions on the body of the text

  • 4 antwurd
  • 1 hat dit probleem
  • 1 werjefte
  • Lêste antwurd fan CWeinhofer

more options

I want to set a message filter with the following conditions:

to > name@mycompany.com body contains > 'money' OR 'profit' (etc)

The reason is that the body text frequently changes so I need to identify it by having one of several possible terms that is often found in the body of the text. That is, in one message it may include the word 'money', in the next message it may say 'profit'

to contains 'name@mycompany.com' AND body contains ('money' OR 'profit')

Currently, I can only choose to include 'any one of the conditions' or 'all of the conditions' This is not sufficient because I need to check for the 'to condition' AND at least one of the body conditions


I tried using OR, || for the additional conditions and it does not work

Thanks

I want to set a message filter with the following conditions: to > name@mycompany.com body contains > 'money' OR 'profit' (etc) The reason is that the body text frequently changes so I need to identify it by having one of several possible terms that is often found in the body of the text. That is, in one message it may include the word 'money', in the next message it may say 'profit' to contains 'name@mycompany.com' AND body contains ('money' OR 'profit') Currently, I can only choose to include 'any one of the conditions' or 'all of the conditions' This is not sufficient because I need to check for the 'to condition' AND at least one of the body conditions I tried using OR, || for the additional conditions and it does not work Thanks

Alle antwurden (4)

more options

I suggest using two filters, one with from and money, and one with from and profit.

more options

I considered using two filters, however there are more than two words or phrases in the body text that I want to check for. As you probably know, spammers are notorious at changing the body text to avoid filters

It seems to me it would be useful to provide way to enter multiple AND or OR conditions for any particular field

Bewurke troch wasskand op

more options

Hello

I don't see why you are trying to create a handcrafted antispam while the software includes a much more advanced solution (Junk Mail Controls).

more options

I would second the need for this. I don't know if the OP is "trying to create a handcrafted antispam", but there are lots of other legitimate use cases.

For example I need to filter messages from a forum where I want general admin notices to go to a folder, but PMs to go to my inbox. Unfortunately, they all come from the same address and the only way to differentiate is by subject line -- but there are about a dozen different subject lines for the admin notices.

I've been using this add-on for a while now (https://addons.thunderbird.net/en-us/thunderbird/addon/expression-search-ng/) and it seems like the dev is working on adding RegEx functionality to the message filters. If anyone is interested, you can find out more and support the effort at https://github.com/opto/Expression-Search-NG