What DMARC does

DMARC (Domain-based Message Authentication, Reporting and Conformance, RFC 7489) is a TXT record published at _dmarc.example.com. It does two things:

A message passes DMARC when SPF or DKIM passes and the domain that passed matches the domain in the visible From address. That match is called alignment. It's what stops an attacker from passing SPF with their own domain while showing yours in From.

By default alignment is relaxed: the domains only need the same organizational domain, so a DKIM signature from mail.example.com aligns with From: news@example.com. Setting adkim=s or aspf=s requires an exact match. Relaxed is right for most domains.

Before you start: list your senders

The main risk in a DMARC rollout is blocking real mail from a service nobody remembered. Make a first list of everything that sends email as your domain:

For each one, set up SPF (add the include it documents to your one SPF record) and, wherever the service supports it, DKIM signing with your own domain. DKIM is the more important of the two for DMARC, because it survives forwarding. The SPF guide covers merging includes and staying under the 10-lookup limit.

Step 1: publish p=none with reporting

Start in monitoring mode. Nothing changes for your mail yet; you just start receiving reports. Add this TXT record:

TXT record at _dmarc.example.com

v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com

rua is where aggregate reports go. They're XML files, usually sent once a day by each large receiver that saw your mail, listing the sending IP addresses, message counts and SPF, DKIM and DMARC results. They don't contain message content. Raw XML is hard to read by hand, so most people send reports to a mailbox that feeds a DMARC report analyzer.

If the report address is on a different domain, that domain has to agree to receive them. For reports from example.com sent to reports@example.net, example.net publishes:

TXT record at example.com._report._dmarc.example.net

v=DMARC1

Report services set this up for their customers. Without it, receivers that follow the standard won't send the reports.

There's also a ruf tag for failure (forensic) reports about individual messages. Many large receivers don't send them, and they can contain personal data, so they're optional.

Step 2: read the reports and fix every sender

Give it at least a few weeks, so monthly senders such as billing runs show up. For each source in the reports, decide:

Move on when the reports show your legitimate mail passing DMARC almost entirely. Some failures from forwarding and mailing lists are normal and don't need fixing.

Step 3: move to p=quarantine

Quarantine asks receivers to treat failing mail as suspicious, which usually means the spam folder. You can apply it to part of the failing mail first with pct:

v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc-reports@example.com

Under RFC 7489, pct=25 applies quarantine to about a quarter of failing messages; the rest get the next policy down, which for quarantine is none. Watch the reports and your helpdesk for complaints, then raise it to 50, then 100 (or remove pct, which defaults to 100). Support for pct varies between receivers, and the revised DMARC specification known as DMARCbis replaces it with a simpler testing flag, so treat it as a rough dial rather than an exact percentage.

v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com

Step 4: move to p=reject

Once quarantine at 100% has run cleanly for a few weeks, switch to reject. Receivers that follow your policy then refuse mail that fails DMARC, so spoofed messages never reach the inbox or the spam folder.

v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com

You can stage this with pct as well. With p=reject; pct=50, the messages not selected are quarantined instead. Keep reading the reports after you reach reject: new services get added, and someone has to set them up before they start sending.

Subdomains

A domain's DMARC policy also covers subdomains that have no DMARC record of their own. The sp tag sets a different policy for them; without it, they inherit p. A common pattern is to keep subdomains strict while the main domain is still being rolled out:

v=DMARC1; p=quarantine; sp=reject; rua=mailto:dmarc-reports@example.com

Only do this if no subdomain sends mail without its own DMARC record. A subdomain that sends, such as news.example.com, can publish its own record at _dmarc.news.example.com.

DMARC tags at a glance

Common DMARC tags
TagMeaningDefault
vVersion. Must be DMARC1 and come first.Required
pPolicy: none, quarantine or reject.Required
spPolicy for subdomains.Same as p
pctPercentage of failing mail the policy applies to.100
ruaWhere to send aggregate reports.None
rufWhere to send failure reports.None
adkimDKIM alignment: r relaxed or s strict.r
aspfSPF alignment: r relaxed or s strict.r

Common mistakes

Mailbox providers increasingly expect DMARC. Google and Yahoo, for example, began requiring a DMARC record from bulk senders in 2024, with p=none accepted as the minimum.

Check your DMARC record now

The domain checker finds your DMARC record (including the parent domain's, for subdomains), shows every tag, and suggests the next record to publish.