Runbook Lab

DMARC p=none to reject: a rollout that reads your reports

By Abdelrhman Fikri · Published 2026-12-02

The safe way to turn on DMARC enforcement isn’t a calendar. It’s a loop. Publish p=none, find out who is really sending as your domain, fix the legitimate senders, then tighten. Below is that loop with a small report parser, plus what changed in May 2026 when the DMARC standard was revised, which caught me out while researching this.

What DMARC actually checks

A message passes DMARC when SPF or DKIM passes and aligns with the domain in the visible From: address. Passing and aligning are different things.

SPF aligns only if the domain SPF checked (the envelope sender, which for a vendor is often their own bounce domain) matches your From domain. DKIM aligns only if the d= domain in the signature matches it. So a vendor can show “SPF pass, DKIM pass” in the raw results and still fail DMARC. The report below has exactly that case.

Step 1: publish a monitoring record

_dmarc.company.test.  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@company.test"

p=none changes nothing about delivery. rua= is where aggregate reports go, usually one XML file per receiver per day, often compressed. Point it at a mailbox or a processing service you’ll really read. If the report address is on a different domain, that domain has to publish an authorization record for yours. RFC 7489 section 7.1 describes it, and I didn’t test that part.

You can sanity-check the record’s syntax with the SPF and DMARC checker. It warns about p=none on purpose, since that setting only watches.

Step 2: read the reports per sending IP

Raw aggregate XML is unreadable, so I wrote a parser that totals messages per source IP and shows whether SPF and DKIM aligned. To try it without real mail, I generated two synthetic reports (made-up domain company.test, documentation IP ranges) with four kinds of sender:

python3 make_synthetic_reports.py
python3 parse_reports.py reports
source_ip        messages  spf-aligned  dkim-aligned  dmarc-pass   verdict
203.0.113.10         8195         100%          100%        100%   OK
198.51.100.20        3374           0%          100%        100%   OK
192.0.2.77           1342           0%            0%          0%   FIX or BLOCK: always failing
203.0.113.99           37           0%            0%          0%   FIX or BLOCK: always failing
198.51.100.200         12           0%            0%          0%   FIX or BLOCK: always failing

TOTAL 12960 messages, 11569 pass DMARC (89.3%), 1391 would be affected by quarantine/reject

The data is invented to show each case, so here’s how I read it.

203.0.113.10 is the company’s own mail server, fully aligned, nothing to do. 198.51.100.20 is a newsletter tool. SPF never aligns for it because it checks the vendor’s bounce domain, but it signs DKIM with your domain, so DMARC passes anyway. That’s fine as long as the signature stays.

192.0.2.77 is the one to chase. It’s a CRM, and in the raw report both its SPF and DKIM checks pass, but for the vendor’s own domain, so neither aligns. Under enforcement all 1,342 of its messages would be quarantined or rejected, even though both raw checks pass. The fix lives in the vendor’s settings (a custom DKIM domain or a custom return-path domain on yours). Then you wait for the next reports and confirm.

The two small rows are unknown IPs failing everything. They look like spoofing, which is the thing enforcement exists for.

My own rule of thumb, and not a standard: don’t tighten until each sender you recognize shows roughly 99% DMARC pass over at least two to four weeks of reports. Include the slow ones, like monthly invoices and quarterly newsletters, or they’ll find out about your policy before you do.

One limit of the parser: it opens .xml and .gz files. Some receivers send .zip, so unzip those first.

Step 3: move to quarantine, carefully

In May 2026 the IETF published RFC 9989, which replaces RFC 7489. It removes the pct tag and adds t=y, a test mode. Receivers will adopt the new rules at different speeds, so for a while you have to plan for both.

Goal Old way (RFC 7489) New way (RFC 9989)
Try quarantine gently p=quarantine; pct=25 p=quarantine; t=y (failing mail is handled one level lower, so as none)
Full quarantine p=quarantine (or pct=100) p=quarantine (default t=n)
Test reject p=reject; pct=25 p=reject; t=y (failing mail is handled as quarantine)
Policy for names that don’t exist not available np=reject

I ran each stage through this site’s checker, which knows both generations of the spec:

## 2 quarantine, testing (RFC 9989 t=y)
v=DMARC1; p=quarantine; t=y; rua=mailto:dmarc@company.test
  [warn] t=y (test mode, RFC 9989): receivers apply one policy level below p=quarantine (failing mail is treated as none). Remove it when you are ready for full enforcement. Older receivers ignore t.
## 2b quarantine, legacy ramp (RFC 7489 pct)
v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@company.test
  [info] "pct" was removed from DMARC by RFC 9989 (May 2026). Older receivers following RFC 7489 may still honor it; newer ones ignore it.
  [warn] pct=25: only receivers that still follow RFC 7489 apply the policy to 25% of failing mail; newer ones ignore pct and apply it to all. Plan for both, or use t=y for testing.

The practical consequence is that a percentage ramp may no longer limit the damage. A receiver that already follows the new standard ignores pct and applies the full policy. Treat every move to quarantine as if it hits all failing mail, which is exactly why Step 2 matters more than which tag you pick. I haven’t tested how particular receivers behave. This comes from RFC 9989 and its public summaries.

Step 4: reject, and cover subdomains

_dmarc.company.test.  TXT  "v=DMARC1; p=reject; np=reject; rua=mailto:dmarc@company.test"

Subdomains inherit p unless you set sp. np is new in RFC 9989 and covers names that don’t exist in DNS, a favorite for spoofing, as in billing.company.test when no such host is real. Keep rua in place forever. New vendors keep appearing, and the reports are how you find out one of them is failing.

What real records look like

I queried two large domains over DNS-over-HTTPS on 2026-12-02. These change, so take them as a snapshot:

_dmarc.github.com     "v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:dmarc@github.com; ruf=mailto:dmarc@github.com; fo=1"
_dmarc.atlassian.com  "v=DMARC1; p=reject; fo=1; pct=100; adkim=r; aspf=r; rua=...; ruf=..."

Both still carry pct=100. RFC 9989 ignores the tag, and pct=100 meant “all” anyway, so nothing changes for them. It’s an example of what big domains publish, not a recommendation.

The order, short version

Publish p=none with a working rua and confirm reports arrive. List every sender from the reports and from your colleagues (marketing, billing, support, CRM, monitoring). Make each real sender align, with DKIM where you can. Wait for the slow ones, a month at least. Then go to quarantine (with t=y first if you want a gentler step), watch the reports, move to reject, add np=reject, and keep reading.

Check many domains at once

If you manage several domains, my Apify Actor (linked below) checks the published DMARC, SPF, DKIM, MTA-STS, TLS and header setup for a whole list in one run. It reads published records, not your aggregate reports, so it complements the steps above and doesn’t replace them.

Reproduce it

run.sh in the evidence folder regenerates everything, including the synthetic reports. Point the parser at a folder of your own reports if you have them.