為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Filter emails on ASN

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 sfhowes

more options

For a few years now I've been plagued by property investment spam, always coming from different sender addresses and domains and different subject lines, making it very hard to filter. I currently have a filter containing over 30 lines and counting! The only consistent commonality is that the IP address in the last Received: line in the headers, and the ip address of the sender's email always belong to AS 16276.

Is there an add-on filter that will enable me to mark all mail from AS 16276 as spam?

For a few years now I've been plagued by property investment spam, always coming from different sender addresses and domains and different subject lines, making it very hard to filter. I currently have a filter containing over 30 lines and counting! The only consistent commonality is that the IP address in the last Received: line in the headers, and the ip address of the sender's email always belong to AS 16276. Is there an add-on filter that will enable me to mark all mail from AS 16276 as spam?

所有回覆 (3)

more options

You can add custom headers to a filter or Classic Search, Ctrl+Shift+F. Add the Received header and test it with search.

http://kb.mozillazine.org/Filters_(Thunderbird)#Custom_headers

more options

Thank you @sfhowes, yes, I could add a custom header "Received:", but that only contains the IP address of the originating MTA. But AS16276 has 144 disjoint blocks of IP addresses and the source of spam can be any IP address in any of those blocks. So that doesn't help.

I think I need an extension that would automatically do an AS lookup on the originating MTA's IP address. Is there such a thing? Would it be feasibe to create?

more options

I'm not aware of such an extension or the difficulty in creating one. Most attempts to create spam filters are inadequate. Myself, I don't use TB's Junk controls, and find the spam management performed by my account providers to be very effective.