This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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 filter messages based on their HTML tags?

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه n4mwd

more options

I have my filters set up to kill junk mail and recently I have been getting spam from a spammer that uses a unique HTML tag. For example: "<FIDO>" and "</FIDO>". I created a body filter for "contains <FIDO>" and the filter never trips even though that spammer keeps sending spam with the "<FIDO>" html tag. I'm thinking that thunderbird is rendering the HTML before running the filter, thus the html tags are invisible to the filter.

Is there any way to fix this?

I have my filters set up to kill junk mail and recently I have been getting spam from a spammer that uses a unique HTML tag. For example: "<FIDO>" and "</FIDO>". I created a body filter for "contains <FIDO>" and the filter never trips even though that spammer keeps sending spam with the "<FIDO>" html tag. I'm thinking that thunderbird is rendering the HTML before running the filter, thus the html tags are invisible to the filter. Is there any way to fix this?

All Replies (2)

more options

You'd better set up junk mail controls to fight spam. http://kb.mozillazine.org/Junk_Mail_Controls

more options

The junk mail controls are mostly bayesian filters which don't work in this case. The spam consists of a few images and a few links with random generated link addresses. The email comes from yahoo so there are no spamassassin headers to look at. The only thing that can be filtered on is the HTML "<FIDO>" tag.

Unfortunately, it looks like the spammers are going to win in this case, because it appears that Thunderbird wont let me filter based on HTML tags.