SA Bugzilla – Bug 7799
Facebook server reported as dynamic
Last modified: 2020-04-10 08:02:13 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
or meta by the fact that facebook is dkim signed
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.