Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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 based on User-Agent header

  • 2 odgovori
  • 2 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao stioudson

more options

I am attempting to filter MailChimp spam, which usually contains a User-Agent header of "MailChimp Mailer." I have added a filter header of "User-Agent" and a filter of "contains" "MailChimp" with the instruction to move the email to a separate folder I have set up. When I run the filter on a folder which I know contains such emails, nothing (visible) happens, and the filter log is empty. What am I doing wrong? Thunderbird 60.5.3, Windows 10

I am attempting to filter MailChimp spam, which usually contains a User-Agent header of "MailChimp Mailer." I have added a filter header of "User-Agent" and a filter of "contains" "MailChimp" with the instruction to move the email to a separate folder I have set up. When I run the filter on a folder which I know contains such emails, nothing (visible) happens, and the filter log is empty. What am I doing wrong? Thunderbird 60.5.3, Windows 10

Izmjenjeno od strane stioudson

Izabrano rješenje

Before running a filter, it's often worth performing a search to confirm the syntax. Right-click a folder, Search Messages..., and add User-Agent as a Custom header, as with filters. I tried it here and found matches. Does it work for you? Try it with a simpler filter action such as star or tag.

Pročitajte ovaj odgovor sa objašnjenjem 👍 1

All Replies (2)

more options

Odabrano rješenje

Before running a filter, it's often worth performing a search to confirm the syntax. Right-click a folder, Search Messages..., and add User-Agent as a Custom header, as with filters. I tried it here and found matches. Does it work for you? Try it with a simpler filter action such as star or tag.

more options

Thank you. This answer pointed the way. Also, by using "view message source," it turns out that X-Mailer is a better header to use.