How to reject SPF failure

Mark Sapiro mark at
Sat Sep 30 05:46:19 UTC 2017

On 09/29/2017 10:25 PM, Johann Carnevali via MailScanner wrote:
> After reading infos of section :
> SpamAssassin Rule Actions
> we are unable to understand what we should put in this to make emails
> blocked from being delivered when SPF check failure

Assuming that MailScanner is scanning with SpamAssassin and the
SpamAssassin rule SPF_FAIL hits on an SPF failure, the setting you want
for SpamAssassin Rule Actions is

SpamAssassin Rule Actions = SPF_FAIL=>store,not-deliver

Mark Sapiro <mark at>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the MailScanner mailing list