Glossary / Email authentication

DMARC

DMARC is an email authentication policy that a domain publishes in DNS to say what receivers should do with mail that fails SPF and DKIM checks for its From address. The policy can monitor, quarantine or reject, and it can request reports. It lives in a TXT record at _dmarc.example.com.

Copy the syntax

Start with monitoring

_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"

Collects reports without affecting delivery.

Enforce once reports are clean

_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com"

Receivers refuse mail that fails alignment.

Have a name in mind?

.com $24.99 first year, renews at $24.99/yr. Other endings: not on sale yet.

In plain English

DMARC tells other mail servers what to do with email that fakes your domain, and sends you reports about it.

What to do

  • Start with p=none and a report address.
  • Fix every real sender that fails.
  • Move to quarantine, then reject.
How DMARC decidesDMARC decision: From address, SPF or DKIM alignment check, policy action, then aggregate reports to the domain owner.1 · Fromjo@example.comaddress people see2 · ChecksSPF / DKIM aligned?either one passing3 · Policy_dmarc p=none, quarantine, reject4 · Reportrua=mailto:daily summaries
DMARC passes when SPF or DKIM passes for a domain aligned with the From address; otherwise the policy applies.
Defined in
RFC 7489Source: RFC 7489
Record location
TXT at _dmarc.example.comSource: RFC 7489
Policies
p=none, p=quarantine, p=rejectSource: RFC 7489
Gmail bulk sender rules
DMARC record requiredSource: Google sender guidelines
What does DMARC alignment mean?

Alignment means the domain that passed SPF or DKIM matches the domain in the visible From address. A message can pass SPF for a mailing service’s domain and still fail DMARC, because that domain is not yours.

Make each sending service sign with DKIM for your own domain, and alignment usually follows.

How do I roll out DMARC safely?

Start with p=none and a rua address so receivers send you aggregate reports. Fix every legitimate sender that fails. Then move to p=quarantine and finally p=reject. Jumping straight to reject can block your own invoices or newsletters.

DMARC tags

Tags from RFC 7489.
TagExampleMeaning
vv=DMARC1Version, must come first
pp=quarantinePolicy for the domain
ruarua=mailto:dmarc@example.comWhere aggregate reports go
pctpct=50Apply the policy to this share of failing mail
spsp=rejectPolicy for subdomains

Check it

dig _dmarc.example.com TXT +short

There should be one v=DMARC1 record.

How do I set up DMARC?

  1. Make sure SPF and DKIM are in place for every service that sends as your domain.

  2. Add a TXT record at _dmarc with v=DMARC1; p=none and a rua mailbox. Reports start arriving within a day or two.

  3. Read the reports and fix any sender that fails alignment.

  4. Change p=none to quarantine, then to reject, once legitimate mail passes.

Questions about DMARC

Is DMARC required?

For bulk senders to Gmail and Yahoo, yes: they require a DMARC record. For everyone else it is strongly recommended, because it stops others from spoofing your domain once you enforce it.

What is the difference between DMARC, SPF and DKIM?

SPF lists allowed sending servers. DKIM signs messages. DMARC checks that one of them passed for the From domain and tells receivers what to do when neither did.

Will p=reject block my own email?

It will if a legitimate sender is not aligned. That is why you start at p=none and read the reports before enforcing.

What are DMARC reports?

Aggregate reports are daily XML summaries from receivers showing which servers sent mail as your domain and whether each passed. A report-reading tool turns them into readable charts.

Put it to work on your own domain

See the first-year and renewal price before you pay.

.com first year$24.99, renews $24.99Check a domain
↑