Skip to content

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.

Check a domain's DMARC policy