Glossary
SPF
Also called Sender Policy Framework.
Last reviewed 18 September 2026
What is SPF?
SPF is a DNS record listing the servers allowed to send mail for a domain, checked by the receiver against the envelope sender rather than against the From line a reader sees, and it is defined in RFC 7208.
Two consequences follow and both get missed. It proves something about the route rather than about the message, and it breaks on forwarding, because the forwarding server is not in your record, which is exactly the case DKIM survives.
A domain may publish only one record beginning v=spf1. Two is a permanent error by the specification and the correct behaviour for a receiver is to fail the check outright rather than pick one, which is the most common way a domain breaks SPF for itself: a second provider’s record is pasted in alongside the first instead of its include mechanisms being merged into one.
Every include, a, mx, ptr, exists and redirect mechanism costs a DNS lookup, and the specification caps the total at ten, counted recursively through everything your includes pull in. Past ten a receiver returns a permanent error, so a record that worked last month can stop working because a provider added an include inside their own.
See also
- DKIM
DKIM is a cryptographic signature over a message’s headers and body, made with a private key held by whoever sends the mail and checked by the receiver against a public key published in DNS under a selector, and it is defined in RFC 6376.
- DMARC
DMARC is the DNS policy that ties SPF and DKIM to the domain a reader actually sees, telling receivers what to do with mail from your domain that aligns with neither and asking for aggregate reports about it, and it is defined in RFC 7489.
- Alignment
Alignment is the DMARC requirement that the domain a reader sees in the From header match a domain that passed SPF or DKIM, which is why a message can pass both of those checks and still fail DMARC.
Read next
This term is covered properly in How to set up SPF, DKIM and DMARC for a sending domain, which is a longer piece on the subject.
Every other term is on the glossary index , the longer writing is in the guides, and what this site itself does is on the home page.
Thinking of writing one of these?
5dayemail hosts a five-to-ten day email course: you write it once, and everyone who joins your list gets one email a day, in order, starting from the day they confirm.
Accounts are opened a few at a time rather than by signing up. Leave your address and you will be written to when the next ones open.
One message, when there is room. No course emails, no newsletter, and the address is not passed on. Ask and it is deleted; what is kept, and for how long, is in the privacy policy.