Question SPF Spam Protection: is it working ?

OverWolf

Regular Pleskian
Server operating system version
Almalinux 9.7
Plesk version and microupdate number
18.0.76u2
Hi,
I've configured Plesk to reject email when SPF fail, but I'm receiving email even though the rule is matched.
Is this correct, or I'm doing something wrong ?

Thank you
 

Attachments

  • SPF_fail.jpg
    SPF_fail.jpg
    13.7 KB · Views: 9
  • SPF_fail2.jpg
    SPF_fail2.jpg
    12.8 KB · Views: 9
  • SPF_setting.jpg
    SPF_setting.jpg
    42.4 KB · Views: 9
Hi,

The SPF Checking mode indicated in your screenshot will result in an SPF reject only when the sending domain has an SPF record and checks against that record result in fail.

You might want "Reject mail when SPF does not resolve to pass", but that will also reject any emails from domains that didn't publish an SPF record or your server can't resolve the SPF record of the sending domain.

1773049005898.png

Having multiple SPF records for the same domain/subdomain will result in SPF check failures.

I recommend keeping "Reject mail when SPF resolves to fail".
 
Back
Top