搜索 | 用户支持

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

详细了解

How to use a filter on subject 'contains' part of a word ie not whole word

  • 5 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 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.

被采纳的解决方案

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.

定位到答案原位置 👍 1

所有回复 (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

选择的解决方案

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.