Search Support

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 to use a filter on subject 'contains' part of a word ie not whole word

  • 5 iimpendulo
  • 0 inale ngxaki
  • 75 views
  • Impendulo yokugqibela ngu david

more options

I'm trying to filter out junk phishing emails from the Temu company.

Every email comes from a different email address, probably farmed, and every subject line is different but usually has temu or Temu in it somewhere. eg TemuDelivery, Your Temu_pallet, temu_ arriving soon

I've set up filters to delete the message if the subject 'contains' temu but that only seems to work if the subject has temu as a word on its own and in lower case. So I set up other ones looking for Temu_ temu_ TemuDelivery etc.

Is there way to filter on just a string of characters in the subject line instead of looking for whole words as it seems to do?

i.e. delete the message if the subject contains temu in upper, lower or camel case and whether or not there are other non white space characters before or after it?

I do have junk training on but that is taking a long time since these are sort of 'genuine' emails sent from hundreds of different genuine email address and so the headers don't seem to indicate a high spam count.

I'm trying to filter out junk phishing emails from the Temu company. Every email comes from a different email address, probably farmed, and every subject line is different but usually has temu or Temu in it somewhere. eg TemuDelivery, Your Temu_pallet, temu_ arriving soon I've set up filters to delete the message if the subject 'contains' temu but that only seems to work if the subject has temu as a word on its own and in lower case. So I set up other ones looking for Temu_ temu_ TemuDelivery etc. Is there way to filter on just a string of characters in the subject line instead of looking for whole words as it seems to do? i.e. delete the message if the subject contains temu in upper, lower or camel case and whether or not there are other non white space characters before or after it? I do have junk training on but that is taking a long time since these are sort of 'genuine' emails sent from hundreds of different genuine email address and so the headers don't seem to indicate a high spam count.

Isisombulu esikhethiweyo

I just tested your problem and my test worked. I set a filter to pick consecutive letters within a bigger word and was successful. My suggestion is to revisit your filter as it may have an error in it.

Funda le mpendulo kwimeko leyo 👍 1

All Replies (5)

more options

You might try setting to 'begins with' since your examples fit that format. That doesn't answer your question, but it may prove a useful filter.

more options

Oh, so it does in my examples. Sorry that was just me being lazy in typing my question! They don't always have temu at the beginning. The subject might be something like 'Coming soon, yourTemu_pallet' Thank you for the suggestion though.

I guess it hinges on Thunderbird's interpretation of 'contains'. To me that means the subject contains the given string somewhere in its text but it's looking increasingly likely that TB treats 'contains' in a very limited way to actually mean 'this exact whole word is found, with a space either side'. Not all that useful.

more options

Isisombululo esiKhethiweyo

I just tested your problem and my test worked. I set a filter to pick consecutive letters within a bigger word and was successful. My suggestion is to revisit your filter as it may have an error in it.

more options

I've just tried manually running a test filter on something else and it worked, even with different letter case. so you are correct it was the filter that was in error.

I apologise for wasting your time but thank you very much for confirming the filter meaning. I think the issue was that the email I got this morning had the correspondent set to TemuDelivery! but the subject line didn't have temu in it. I saw temu, didn't notice that wasn't in the subject and thought the filter wasn't working!

I'll make another filter to look in the correspondent and body as well. that should do it

Thanks for the help.

more options

You're welcome. Time not wasted, as it was a refresher for me as well.