X
Tap here to go to the mobile version of the site.
An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your OS here: https://www.mozilla.org/firefox/new/ For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/kb/add-ons-disabled-or-fail-to-install-firefox

Support Forum

How to filter based on User-Agent header

Posted

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

Modified by lshick

Chosen solution

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.

Read this answer in context 1
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

More Information

sfhowes
  • Top 10 Contributor
1318 solutions 6229 answers

Chosen Solution

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.

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.
Was this helpful to you? 1
Quote

Question owner

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.

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.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.