Hacker News new | ask | show | jobs
by aj3 1767 days ago
Your configuration provides no protection from email spoofing though.
1 comments

In practice, that's not true. Major email providers will not respond any differently to ~all versus -all, despite what the RFCs state you should do.
That’s not what I meant. SPF checks Envelope Sender domain which does not have to be the same as the address seen in From header.

Your configuration is trivially spoofable by setting Envelope Sender to something attacker controls (and thus it will pass SPF), while still placing your domain in the From header.