DMARC: policy and reports
Updated
SPF and DKIM each prove something about a message, but neither is tied to the address people actually see in the From line. DMARC (Domain-based Message Authentication, Reporting and Conformance) is the rule that connects them. A message passes when SPF or DKIM passes and the domain it proves matches the From domain. This matching is called alignment.
The record
DMARC is published as a TXT record at _dmarc under the domain.
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"
- p= is the policy for failing mail: none (only report), quarantine (treat as suspicious, usually the spam folder) or reject (refuse it)
- rua= is where daily summary reports are sent
- sp= sets a different policy for subdomains
- pct= applies the policy to only part of the mail while you are testing
Rolling it out safely
Start with p=none and read the reports. They show every system sending mail as your domain, including ones you forgot. Fix SPF and DKIM for the legitimate ones, then move to quarantine, then to reject. Jumping straight to reject can block your own newsletters or invoices.
Why it matters
At reject, someone who forges your domain in the From line has their mail refused by receivers that honor DMARC. Since 2024, Gmail and Yahoo have also required senders of large volumes of mail to publish DMARC, so it affects delivery as well as protection.
Related
- SPF: who may send mail for a domainHow an SPF record lists the servers allowed to send email for a domain, and the mistakes that break it.
- DKIM: signing emailHow DKIM lets a domain sign its email so receivers can check it was not changed, and where the public key lives.
- BIMI: showing your logo in emailWhat BIMI is, what a domain needs before mailbox providers will show its logo, and what it does not prove.
- TLS-RPT: hearing about failed encrypted deliveryWhat a TLS-RPT record is, where reports go and what they contain, and how it pairs with MTA-STS.
- Email headers: what they are and how to find themThe hidden lines at the top of every email that show who sent it, the servers it passed through and whether it passed its checks.
- A domain health checklist: what to check and whyThe handful of public records that say whether a domain is set up sensibly for email, registration and DNS, and what each one protects against.
- Spotting a dangerous link before you clickThe common ways a link in an email, text or call is made to deceive, and a safe way to check one without opening it.
- Why a message gets flagged as spam or phishingThe things mail filters commonly react to, from failed sender checks to links that hide where they go, and which to fix first.
- Reading a bounce messageHow to read the code and the words in a non-delivery report, the difference between a temporary and a permanent failure, and what to try next.
- Lookalike domains and typosquattingHow a name is made to look like another, why scammers register them, and what you can check and do about the ones that imitate yours.