Comparisons
Comparisons
SPF, DKIM and DMARC records are often mentioned in one breath, as if they were the same thing. In fact they solve different problems and work as links in a single chain: the first deals with the server, the second with the message itself, and the third ties both checks to the address the recipient sees. Below are three tables that help you understand the difference and choose your next step without rushing.
None of the three records fully protects a domain on its own: they make sense when they work together.
How to read the tables: they compare methods and modes, not specific services. Details of each record are given in the open documents listed in the sources at the bottom of the page.
SPF — DKIM — DMARC
| Criterion | SPF | DKIM | DMARC |
|---|---|---|---|
| What it checks | Whether the server that sent the message is allowed to send in the domain's name | Whether the message changed in transit and is signed with the domain's key | Whether the verified domain matches the address in the “From” field, and what to do on failure |
| Where it is stored | A single TXT record in the domain's DNS settings | Public key in a TXT record, private key with the sender | A TXT record on a dedicated subdomain of the domain |
| Weak spot | Breaks when a message is forwarded through someone else's server | Breaks if the message is altered on the way, for example by adding a footer | Useless until at least SPF or DKIM is set up |
| Specification | RFC 7208, April 2014; replaced the earlier RFC 4408 | RFC 6376, September 2011 | RFC 7489, March 2015 |
Email on your own domain — free address
| Criterion | Email on your own domain | Free address |
|---|---|---|
| How customers see it | The address matches the organisation's name and website and inspires more trust | Looks like personal correspondence and is easy to confuse with a forgery |
| Who owns it | The organisation: mailboxes can be handed over, disabled or redirected | The person who created it; when an employee leaves, the correspondence may leave with them |
| Protection from forgery | The owner publishes SPF, DKIM and DMARC and receives reports | Only the mail service protects it; you cannot influence the settings |
| What it takes | Keeping track of domain renewal and DNS records, maintaining a list of senders | Almost nothing, but there is almost nothing to manage either |
DMARC modes: monitoring — quarantine — reject
| Criterion | Monitoring | Quarantine | Reject |
|---|---|---|---|
| What happens to a message that fails the check | Delivered as usual but included in the report | Usually sent to the spam folder | The recipient's mail service refuses to accept it |
| When it fits | At the start, while you find out who sends email in your name | When all legitimate senders pass the checks | When quarantine has run for a while without losses |
| What you risk | Forgeries still get through for now | A forgotten sender ends up in spam | A forgotten sender is cut off completely |
Read next
- Guides
Step-by-step walkthroughs: tidying up your domain's email in a day, your first DMARC record, shared mailboxes, a leaving employee. Plus the article catalogue.
- Tools
What to keep at hand: access to DNS settings, a list of all senders, record checks, DMARC reports, message headers and a change log.
- Problems
Emails go to spam, vanish after a move, recipients see “on behalf of”, the signature fails, the reports make no sense.
- Glossary
Key terms in plain words: domain, DNS, TXT record, SPF, DKIM, DMARC, sender reputation, spam complaint and headers.
- Questions
Answers about this guide, setting up email records, and how to send mailings honestly and stop others forging your address.
Sources
- RFC 7208 — Sender Policy Framework
- RFC 6376 — DomainKeys Identified Mail
- RFC 7489 — DMARC
- Editorial materials of this guide
The texts in this guide describe email records and settings in general terms; they are accurate as of the preparation date shown on each page. Domain and email control panels differ, call the same options by different names and change their menus from time to time. If the hints in your panel differ from our description, follow your panel and the help pages of whoever manages your domain.