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!

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

Blocking a specific string in a message

  • 6 replies
  • 1 has this problem
  • 11 views
  • Last reply by Xiontz

more options

Hi all,

I have a problem with spam messages. I receive many messages from one spam company but the senders are different. In all messages' bodies there is one common thing: a string "@myeurojobs". Everytime there is a piece of text saying "bla bla bla please answer to xxx@myeurojobs.yyy.zzz, where xxx, yyy and zzz are always different for every message. So the only problem is to filter the "@myeurojobs" string. All the e-mail address in the message body is always underlined and linked. I have tried many things, i.e. "*", "$", "?" and they never worked. I haven't found anytyhing about regular expressions in Thunderbird. Are there any? Is there any way to filter a piece of string?

Regards Xiontz

Hi all, I have a problem with spam messages. I receive many messages from one spam company but the senders are different. In all messages' bodies there is one common thing: a string "@myeurojobs". Everytime there is a piece of text saying "bla bla bla please answer to xxx@myeurojobs.yyy.zzz, where xxx, yyy and zzz are always different for every message. So the only problem is to filter the "@myeurojobs" string. All the e-mail address in the message body is always underlined and linked. I have tried many things, i.e. "*", "$", "?" and they never worked. I haven't found anytyhing about regular expressions in Thunderbird. Are there any? Is there any way to filter a piece of string? Regards Xiontz

All Replies (6)

more options

"Body" "contains" "myeurojobs" should do it. I don't think the filters can "see" the @ character.

But I don't bother nor recommend trying to deal with spam by using filters like this. You're forever playing catch up.

If you really want regexes, try FiltaQuilla, but note that it only offers re's on the sender and the subject, NOT the message text. If you want to aply re's to the message text, have a look at the Expression Search / Gmail UI add-on.

https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/ https://addons.mozilla.org/en-US/thunderbird/addon/gmailui/

more options

Thanks Zenos, but I have already tried your way. Didn't help. I have tried with or without "@".

Filtering senders is useless in my case, because messages come similar but senders and subjects are always different.

Expression Search addon can help partly because I can manually search for all the messages containing "myeurojobs" in their bodies, and then build a filter killing the senders. But it is still not a working solution.

more options

I don't think you read what Zenos wrote.

"Body" "contains" "myeurojobs" should do it.

That has nothing to do with from filtering and is a native search of the body of the email. So I have no idea why you would be using an add-on.

However does the mail your trying to filter have a body downloaded, or is it only headers you synchronise?

more options

Matt, I don't think you read what I wrote ;) I tried "body" "contains" "myeurojobs" and many others. Nothing works. That's why I look for another solution.

The email has normal body, formatted text I think. I have set Thunderbird to delete a message from server as soon as it is deleted from my computer. I think it's downloaded, then.

I'm not an expert so that's why I ask questions.

more options

Could you share the full SPAM message source (headers and content)? Perhaps another header element can be used to make the filter work.

more options

Unfortunately, the massage has already been deleted :(