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.

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

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

How to filter based on User-Agent header

  • 2 valiny
  • 2 manana an'ity olana ity
  • 1 view
  • Valiny farany nomen'i 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

Novain'i stioudson t@

Vahaolana nofidina

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.

Hamaky an'ity valiny ity @ sehatra 👍 1

All Replies (2)

more options

Vahaolana Nofidina

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.