What SPF does
SPF (Sender Policy Framework, RFC 7208) is a TXT record that lists the servers allowed to send email for a domain. Receivers compare the sending server's IP with the list; DMARC then uses the result to decide whether to deliver, quarantine or reject a message.
The checks this tool runs
- Exactly one record. Two
v=spf1records make SPF fail with a permanent error. Merge them. - 10 DNS lookups at most.
include:,a,mx,ptr,existsandredirect=each cost one, including those inside every include. Past 10, SPF fails. The tool follows each include and adds them up. - How it ends.
-all(reject others) and~all(soft fail) protect the domain;?allsays nothing;+alllets anyone send as you. - Deprecated or broken parts.
ptr, terms placed afterall, and includes that point at domains with no SPF record.
| Ending | Meaning | Use it when |
|---|---|---|
-all | Hard fail: servers not listed are not allowed | You know every service that sends as the domain |
~all | Soft fail: not listed, accept but mark | Most domains; let DMARC enforce |
?all | Neutral: no statement | Rarely useful |
+all | Anyone may send | Never |