Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M$ Office365 spam filter #323

Open
agenbite opened this issue Mar 4, 2022 · 1 comment
Open

M$ Office365 spam filter #323

agenbite opened this issue Mar 4, 2022 · 1 comment

Comments

@agenbite
Copy link

agenbite commented Mar 4, 2022

For those of us lucky enough to be forced to "enjoy" an Office365 mail account, these filters below complement afew's default spam filter by leveraging O365 spam classification algorithm:

[HeaderMatchingFilter]
header = X-Forefront-Antispam-Report
pattern = SFV:SPM
tags = +spam; -new

[HeaderMatchingFilter.1]
header = X-Microsoft-Antispam
pattern = BCL:[456789]
tags = +spam; -new

[HeaderMatchingFilter.2]
header = X-Forefront-Antispam-Report
pattern = SCL:[569]
tags = +spam; -new

I leave them here in case others might find them useful. I'm sure the pattern can be collapsed into a single expression, but it works fine as it is.

Thanks for afew!

@GuillaumeSeren
Copy link
Collaborator

Hey @agenbite ,
Thank you for the share I am sure some will be happy to find those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants