https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7799

            Bug ID: 7799
           Summary: Facebook server reported as dynamic
           Product: Spamassassin
           Version: 3.4.4
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to