opyeb spfdkim

spfdkim · DMARC

DMARC policy (p=) and reporting (rua)

DMARC compares SPF and DKIM results with the From domain and applies a policy. The policy value and reporting addresses decide whether spoofing is actually stopped.

What DMARC adds

DMARC uses SPF and DKIM results but anchors them to the From header domain. SPF checks the envelope sender and DKIM the signing domain, so neither catches spoofing when the From domain does not align. DMARC adds the alignment test and defines what happens on failure (quarantine or reject) and where reports go.

Record shape

v=DMARC1; p=quarantine; sp=reject; pct=100; adkim=s; aspf=r; rua=mailto:dmarc@example.com; fo=1; ri=86400
TagValuesMeaning
vDMARC1Version; must be the first tag.
pnone, quarantine, rejectPolicy for the organisational domain; required.
spnone, quarantine, rejectPolicy for subdomains; inherits p when absent.
pct0-100Percentage of mail the policy applies to; default 100.
adkimr, sDKIM alignment: relaxed or strict.
aspfr, sSPF alignment; relaxed by default.
ruamailto: or https:Aggregate report destinations, comma separated.
rufmailto: or https:Failure report destinations.
fo0, 1, d, sWhen to send failure reports.
risecondsAggregate interval; default 86400.

What p=none means

p=none applies no policy and only collects reports. That is useful at the start, while you learn the traffic and authentication state, but leaving it there means spoofed mail is still delivered. Checkers warn on p=none for that reason.

Moving from none to reject

  1. Set p=none with rua= and collect aggregate reports for two to four weeks.
  2. Read the reports for alignment failures and sending sources. Fix SPF or DKIM first if legitimate mail is failing.
  3. Start p=quarantine at pct=10 and watch the effect.
  4. Raise pct to 50 and then 100 when nothing breaks.
  5. Move to p=reject once alignment failures stay near zero.
  6. Review sp= for subdomains; sp=reject is safe when no subdomain sends mail.

During the transition, legitimate mail can be quarantined. Raise the policy step by step while watching the support queue and mail logs.

Alignment: adkim and aspf

Relaxed (r) accepts a signature from a subdomain of the organisational domain. Strict (s) requires an exact match with the From domain. Strict suppresses spoofing more strongly, but increases failures where a third-party sender signs with a subdomain. Running relaxed first and tightening after mapping the sending setup is the usual path.

Reporting addresses and external domains

rua is where aggregate reports go. Your own address needs no authorisation, but a reporting service's domain must publish v=DMARC1 on _report._dmarc.. Without it, receivers do not send reports. The checker points out rua domains that differ from the record's domain.

Keep rua to two addresses or fewer: receivers limit how many destinations they report to. ruf can include the content of individual messages, so review it together with your privacy policy.

Common failures

Questions

Where does the DMARC record go?

On _dmarc.<domain> TXT, so _dmarc.example.com for example.com. A policy on the organisational domain covers subdomains through sp= or inheritance.

How do rua and ruf differ?

rua is aggregate reporting: daily per-domain pass and fail statistics. ruf is failure reporting: the reason an individual message failed. ruf can carry personal data, so enable it only when needed.

What does external reporting require?

The domain receiving the reports must publish v=DMARC1 on _report._dmarc.<its-domain> to consent. Without that authorisation most receivers will not send reports across domains.

Paste a record and the tool flags p=none, pct below 100, a missing rua and external reporting domains.

Open the tool

This guide follows RFC 7208 (SPF), RFC 6376 (DKIM), RFC 7489 (DMARC), the BIMI Group specifications and RFC 8617/8616 (ARC and DMARC aggregate reporting). Every example record is synthetic.