Bug 7799 - Facebook server reported as dynamic
Summary: Facebook server reported as dynamic
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: 3.4.4
Hardware: PC Windows NT
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-23 19:44 UTC by Kenneth Porter
Modified: 2020-04-10 08:02 UTC (History)
2 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Porter 2020-02-23 19:44:27 UTC
Facebook's mail is caught by __HELO_DYNAMIC_IPADDR2. A typical sending server is 66-220-155-140.mail-mail.facebook.com.

Workaround is to add /etc/mail/spamassassin/facebook.cf with content:

header __HELO_DYNAMIC_IPADDR2 X-Spam-Relays-External =~ /^[^\]]+ helo=(?![^\s\]]+[-.](static|mail-mail)[-.])\d{1,3}(?:[\Wx_]\d{1,3}){3}[^\d\s][^\s.]*\.\S+\.\S+[^\]]+ auth= /i
Comment 1 Benny Pedersen 2020-02-23 21:03:46 UTC
or meta by the fact that facebook is dkim signed
Comment 2 Henrik Krohns 2020-04-10 08:02:13 UTC
Added some basic exclusions. All these dynamic rules could use much love..

Sending        rules/20_fake_helo_tests.cf
Transmitting file data .done
Committing transaction...
Committed revision 1876349.