为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to filter based on User-Agent header

  • 2 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 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

由stioudson于修改

被采纳的解决方案

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.

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

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.