搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Blocking a specific string in a message

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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 [email protected], 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 [email protected], 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

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