We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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
  • Last reply by 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.