To set up DMARC, add one TXT record at _dmarc.yourdomain that states a policy and where to send reports:
_dmarc.acme.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc@acme.com"
Do it after SPF and DKIM are working, start with p=none, read the reports, and tighten the policy over a few weeks. DMARC is defined in RFC 9989, published in May 2026, which replaced RFC 7489.
What DMARC does
SPF checks the envelope sender and DKIM checks the signing domain, but neither checks the From address your reader sees. DMARC does. A message passes DMARC when:
- SPF passes and the SPF domain aligns with the From domain, or
- DKIM passes and the DKIM
d=domain aligns with the From domain.
The DMARC record then tells receivers what to do with mail that fails, and where to send reports about everything they saw from your domain.
Before you start
Check that your existing mail already authenticates with your domain. Send a message from each service you use to a Gmail address, choose Show original, and confirm SPF or DKIM passes with your domain, not the vendor’s. If DKIM is signed by d=vendor.com, set up the vendor’s custom DKIM first (DKIM setup).
Step by step
- Pick a report address. A dedicated mailbox like
dmarc@acme.com, or an address from a DMARC report service. Expect a lot of XML. - Publish the record at host
_dmarcwithv=DMARC1; p=none; rua=mailto:dmarc@acme.com. - Check it with
dig +short TXT _dmarc.acme.com. - Read reports for two to four weeks. Find every source sending as your domain. See how to read DMARC reports.
- Fix failing legitimate sources by adding them to SPF or setting up their DKIM.
- Move to
p=quarantine, optionally witht=y(testing mode) first. - Move to
p=rejectonce quarantine causes no problems.
DMARC record tags
| Tag | Example | Meaning | Default |
|---|---|---|---|
v |
v=DMARC1 |
Version, must be first | Required |
p |
p=none |
Policy for the domain: none, quarantine, reject | Required |
sp |
sp=reject |
Policy for subdomains | Same as p |
rua |
rua=mailto:dmarc@acme.com |
Where to send aggregate reports | None |
ruf |
ruf=mailto:dmarc@acme.com |
Where to send failure reports | None |
adkim |
adkim=s |
DKIM alignment: r (relaxed) or s (strict) | r |
aspf |
aspf=s |
SPF alignment: r or s | r |
t |
t=y |
Testing mode: receivers apply a softer action (replaces pct, removed in RFC 9989) |
n |
fo |
fo=1 |
When to send failure reports | 0 |
ri |
ri=86400 |
Requested report interval in seconds | 86400 |
Policy: none, quarantine, reject
| Policy | What receivers do with failing mail | When to use |
|---|---|---|
p=none |
Deliver as normal, send reports | First weeks, while you find all your senders |
p=quarantine |
Treat as suspicious, usually the spam folder | Once reports show your own mail passes |
p=reject |
Refuse it, ideally during the SMTP conversation | Full protection against spoofing |
Gmail and Yahoo require bulk senders to publish DMARC, and accept p=none (Google, Yahoo). Outlook.com asks the same of domains sending over 5,000 messages a day (Microsoft). p=none meets the rule but does not stop spoofing, so do not stop there.
Alignment: relaxed vs strict
In relaxed mode (the default), the domains only need to share an organizational domain. send.acme.com aligns with acme.com. In strict mode they must match exactly.
Relaxed is right for almost everyone. It lets email services use a return-path subdomain for SPF while your From address stays on the root domain.
DMARC examples
Monitoring only:
v=DMARC1; p=none; rua=mailto:dmarc@acme.com
Try quarantine in testing mode while you watch the reports:
v=DMARC1; p=quarantine; t=y; rua=mailto:dmarc@acme.com
Full enforcement, subdomains included:
v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@acme.com
A parked domain that never sends mail:
v=DMARC1; p=reject
Pair the parked-domain record with v=spf1 -all so the domain cannot be used for spoofing.
Sending reports to another domain
If rua points at a different domain, for example a report service, that domain must publish a record authorizing it. For acme.com sending reports to reports.example.net, the receiver checks for a TXT record at acme.com._report._dmarc.reports.example.net containing v=DMARC1 (RFC 7489 section 7.1). Report services set this up for you.
How long each stage should take
There is no fixed timetable, but a cautious path looks like this. Stay at p=none until you have at least two weeks of reports covering your normal sending, including monthly jobs such as invoices or newsletters that a short window would miss. Then run p=quarantine for a few weeks (with t=y first if you want a softer start). Move to p=reject once quarantine produces no complaints from your own team or customers about missing mail.
Common mistakes
- Publishing at the wrong name. The host is
_dmarc, notdmarcand not the root domain. - Two DMARC records. Receivers ignore DMARC if they find more than one.
- Jumping straight to reject. A forgotten sender, such as your billing tool, suddenly stops being delivered.
- No
rua. Without reports you cannot tell what is failing.
Mailcandor and DMARC
Mailcandor signs your mail with three DKIM records on your domain and uses send.yourdomain as the return-path, so both DKIM and SPF align under relaxed DMARC. When you add a domain, we suggest a DMARC record and check it with the other DNS records. Our free tools check any domain’s DMARC record, and the SPF, DKIM and DMARC overview shows how the three records fit together.