Definition
SPF, DKIM and DMARC are the three DNS-based email authentication standards. SPF lists which servers may send for a domain, DKIM signs messages cryptographically, and DMARC tells receivers what to do when mail fails them and sends reports back.
SPF (Sender Policy Framework, RFC 7208) is a DNS TXT record listing the IP addresses and services allowed to send mail using the domain in the envelope sender. Receivers check the connecting server against it. SPF allows at most 10 DNS lookups, a limit often exceeded when many vendors are added.
DKIM (DomainKeys Identified Mail, RFC 6376) adds a digital signature to each message's headers. The receiver verifies it with a public key published in DNS under a selector. Gmail requires keys of at least 1,024 bits and recommends 2,048.
DMARC builds on both. A domain publishes a policy (p=none, quarantine or reject) and reporting addresses. A message passes DMARC when SPF or DKIM passes for a domain aligned with the visible From domain. DMARC was originally RFC 7489, which was replaced in May 2026 by a new standards-track specification, RFC 9989.
Gmail requires SPF, DKIM and DMARC for bulk senders. Roll out DMARC by starting at p=none, reading the reports to find every legitimate sender (CRM, help desk, messaging platform), fixing their SPF and DKIM, then moving to quarantine and reject.
Alignment is the part people miss. DMARC does not just ask whether SPF or DKIM passed; it asks whether the domain that passed matches the domain in the visible From address. Alignment can be relaxed, where subdomains of the same organisational domain match, or strict, where the domains must be identical. A platform that sends from its own domain and signs with its own DKIM key will pass SPF and DKIM yet fail DMARC for your brand until you configure custom domain authentication.
Google's sender guidelines treat a bulk sender as one that sends more than 5,000 messages a day to Gmail addresses. They require SPF, DKIM and a DMARC policy, one-click unsubscribe for marketing mail, and a user-reported spam rate kept below 0.3%. Other large mailbox providers have comparable expectations, so authentication is now a delivery requirement rather than a best practice.
Common mistakes include publishing two SPF records for one domain (only one is allowed), ending SPF with +all, forgetting that every new vendor adds DNS lookups, leaving DKIM keys unrotated for years, and jumping straight to p=reject before reading the reports. Run at p=none until the aggregate reports show only known senders, then tighten step by step.
To verify, send a test message to a mailbox you control and inspect the headers: look for spf=pass, dkim=pass and dmarc=pass, and confirm that the domains align. DMARC aggregate reports (the rua address) show the same results across every receiver.
Example
_dmarc.example.com TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"Frequently asked questions
Do I need all three of SPF, DKIM and DMARC?
Yes for bulk or marketing email. SPF and DKIM prove who sent the message and that it was not altered, and DMARC ties them to your visible domain and sets the policy. Large mailbox providers now expect all three.
What DMARC policy should I start with?
Start with p=none and a rua address to collect reports. Once you have identified and authenticated every legitimate sender, move to quarantine and then reject.
Why does SPF pass but DMARC fail?
Usually because of alignment. SPF can pass for the sending service's own domain, but DMARC needs the passing domain to match your From domain. Configure custom domain authentication with the sending service.
