SPF, DKIM and DMARC fix guides
One guide for each problem the checker reports: what it means, why it matters and how to fix it.
SPF
- SPF: too many DNS lookupsWhy SPF fails when it needs more than 10 DNS lookups, how to count them, and four ways to get back under the limit.
- Multiple SPF recordsTwo v=spf1 TXT records on one domain make SPF return PermError for every message. How to merge them into one record.
- No SPF recordWithout SPF, receivers cannot tell which servers may send for your domain. How to build the record from the services you use.
- The SPF all mechanismWhat each SPF all qualifier tells receivers, why +all and ?all protect nothing, and when to choose -all over ~all.
- The SPF ptr mechanismRFC 7208 says not to publish ptr in SPF: it is slow and unreliable, and receivers may skip it. What to replace it with.
- Broken SPF includeAn SPF include that points to a domain without an SPF record makes the whole check return PermError. How to find and fix it.
DKIM
- DKIM 1024-bit key1024-bit DKIM keys still validate, but RFC 8301 recommends 2048 bits. How to rotate the key without breaking mail.
- How to find your DKIM selectorA DKIM selector names the key that verifies your mail. How to read yours from a message header, and why a checker may not find it.
DMARC
- No DMARC recordGmail, Yahoo and Microsoft require DMARC from bulk senders. How to publish a record at _dmarc, start with p=none and get reports.
- Multiple DMARC recordsWith two DMARC records at _dmarc, receivers act as if the domain has no DMARC policy. How to merge them into one record.
- DMARC p=none, quarantine and rejectp=none only monitors, quarantine sends failures to spam and reject refuses them. How to use the reports to move from none to reject safely.
- DMARC reports (rua=)Without rua=, nobody sends you DMARC reports, so you cannot see who sends as your domain. How to add a report address.
- DMARC tags removed by RFC 9989RFC 9989, the updated DMARC standard, dropped the pct, rf and ri tags. Records that use them still work. What to do next time you edit.
MX
- No MX recordsWithout MX records, senders fall back to the domain's address or give up. When that is fine, and when to publish a null MX.