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

How to filter messages based on their HTML tags?

  • 2 replies
  • 1 has this problem
  • 3 views
  • Paskiausią atsakymą parašė 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.