Skip to content

Instantly share code, notes, and snippets.

@gwire
Created February 26, 2022 15:22
Show Gist options
  • Save gwire/59ee7398af93f63d483f740bdecfb9af to your computer and use it in GitHub Desktop.
Save gwire/59ee7398af93f63d483f740bdecfb9af to your computer and use it in GitHub Desktop.
Exim ACL to block SharePoint spam
## add to the data acl
## if Microsoft's `X-Forefront-Antispam-Report:` contains "SCL:9" then that's "High confidence spam"
## so why do they then choose to DKIM sign it and forward it on?
## https://docs.microsoft.com/en-gb/microsoft-365/security/office-365-security/spam-confidence-levels
deny condition = ${if match_domain{$sender_address_domain}{sharepointonline.com}}
condition = ${if match{$h_X-Forefront-Antispam-Report:}{;SCL:9;}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment