SPF

Also called Sender Policy Framework

A DNS record that lists the servers allowed to send email for a domain, so receivers can spot mail sent from anywhere else.

SPF is published as a single TXT record on a domain, beginning with v=spf1. It names the servers and services that may send mail for that domain, and ends with a rule for everything else, such as -all (fail) or ~all (soft fail).

A receiving server checks SPF against the domain in the message’s hidden return address (the envelope sender, also called Return-Path), not the From address a reader sees. It looks up the record and asks whether the server that delivered the message is on the list. The result is pass, fail, soft fail or neutral.

Two limits are worth knowing. An SPF record may trigger at most ten further DNS lookups, so long lists of services can break it. And SPF usually fails when mail is forwarded, because the forwarding server is not on the original sender’s list. DKIM fills that gap, and DMARC ties the two to the visible From address.

Read more in SPF, DKIM and DMARC in plain words.

Start your 30-day free trial

Pick a username and it becomes your Kistrl address. No card needed.