skip to content

Under RFC 9989 DMARC, how do you stage a domain from p=none to p=reject, and what must be true before each step?

level: middleimportance: must knowfreq 42%

answer

  1. monitor before you enforce
  2. a report mailbox comes first
  3. every legitimate stream aligned
  4. t=y rehearses one level lower

basics

~20 s

Publish p=none with rua, use the aggregate reports to fix every legitimate sender until it passes aligned, then move to quarantine and finally reject, rehearsing each step with t=y, which asks receivers to apply one level less.

solid answer

~40 s

Under RFC 9989 (May 2026) the order is: SPF and DKIM aligned with the From domain, a mailbox that can parse aggregate reports, then `v=DMARC1; p=none; rua=mailto:...` (Monitoring Mode). Read the reports until every legitimate source (the mail servers, the CRM, the payroll system, the outside newsletter service) produces an aligned pass. Section 5.1.6 says those gaps MUST be fixed before any enforcing policy. Then move to `p=quarantine`, later to `p=reject`. Each move can be rehearsed with `t=y`: `p=quarantine; t=y` requests no action and `p=reject; t=y` requests quarantine. Reports keep flowing either way. The timetable is set by what the reports show, not by the calendar. For domains whose users post to mailing lists, Section 7.4 advises at least a month at none and an equally long period at quarantine.

code

dns · 10 lines
dns
; stage 1 - Monitoring Mode
_dmarc.example.org. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:[email protected]"
; stage 2 - quarantine rehearsed (none applied)
_dmarc.example.org. 3600 IN TXT "v=DMARC1; p=quarantine; t=y; rua=mailto:[email protected]"
; stage 3 - quarantine applied
_dmarc.example.org. 3600 IN TXT "v=DMARC1; p=quarantine; rua=mailto:[email protected]"
; stage 4 - reject rehearsed (quarantine applied)
_dmarc.example.org. 3600 IN TXT "v=DMARC1; p=reject; t=y; rua=mailto:[email protected]"
; stage 5 - reject applied
_dmarc.example.org. 3600 IN TXT "v=DMARC1; p=reject; rua=mailto:[email protected]"

go deeper

for a junior

Recall the order: authenticate senders, collect aggregate reports at p=none, then quarantine, then reject. p=none alone stops nothing.

for a middle

Explain why every legitimate stream must pass aligned before enforcing, what t=y requests at each policy, and why RFC 9989 dropped pct.

for a senior

Show how you would read reports to decide each move, why DKIM must carry forwarded mail, and how a t=y rehearsal exposes mail through intermediaries that do not rewrite From.

for a principal

Own the exit criteria and the rollback plan: what share of unexplained failure is acceptable, who signs off each stage, and how list and forwarder breakage is communicated.

## Why the rollout starts at p=none DMARC lets the owner of the domain in a message's **From** header ask receivers to act on mail that fails authentication for that domain. A message **passes DMARC** when SPF or DKIM passes for a domain **aligned** with the From domain. The policy tag `p=` says what the owner asks for when a message fails: `none`, `quarantine` or `reject`. RFC 9989 (May 2026, Standards Track) obsoletes RFC 7489. Its Section 5.1 describes the domain owner's work as a sequence, and the reason for the first step is in Section 5.1.5. In all but the most trivial setups an organisation forgets a server or a third-party sending agreement. Starting at `p=none` uses the **aggregate reports** to audit the organisation's own mail before anything can be refused. RFC 9989 calls this state **Monitoring Mode**: a `p=none` record, with aggregate reports arriving at the address in `rua=`. Section 5.4 adds that `p=none` MUST NOT change how receivers handle mail, so this stage is safe to deploy and protects nothing. ## The stages in order 1. **Authenticate at the source.** Every system that sends as the domain gets SPF for its envelope domain or, better, a DKIM signature whose `d=` is the domain or one of its subdomains. Sections 5.1.1 and 5.1.2 require an aligned identifier. Section 5.1 asks for at least one and preferably two. 2. **Prepare to consume reports.** Section 5.1.3 calls proper consumption of aggregate reports essential. Reports are machine-oriented XML, so the mailbox needs a parser or a report-processing service behind it. 3. **Publish Monitoring Mode.** `p=none` with `rua=`. If mail is sent from a subdomain, the organizational domain also needs a record (Section 5.1.4). 4. **Remediate.** Each legitimate stream that fails is fixed at its source (Section 5.1.6). Unknown sources are investigated, and forged ones are left failing. 5. **Rehearse quarantine, then apply it.** `p=quarantine; t=y`, then `p=quarantine`. 6. **Rehearse reject, then apply it.** `p=reject; t=y`, then `p=reject`. | Record | What the owner requests for failing mail | |---|---| | `p=none` | No change to handling. Reports only | | `p=quarantine; t=y` | Treat as `none`, while testing quarantine | | `p=quarantine` | Treat as suspicious, for example a spam folder | | `p=reject; t=y` | Treat as `quarantine`, while testing reject | | `p=reject` | Refuse the message | ## t=y replaced pct RFC 7489 ramped enforcement with `pct=`, a percentage of failing mail to treat strictly. Appendix A.6 of RFC 9989 explains why it went. Values other than 0 and 100 were applied inaccurately and inconsistently between receivers. `pct=0`, meanwhile, had taken on a useful second meaning: intermediaries such as mailing lists treated it as a cue to rewrite the From header. RFC 9989 removed `pct`, `rf` and `ri`, and added `t`. `t=y` maps to the old `pct=0` and `t=n`, the default, to `pct=100`. Under `t=y` the receiver applies one level less than the stated policy. The `t` tag has no effect on reports and none on a policy that is already `none`. A receiver that follows RFC 9989 ignores a leftover `pct` as an unknown tag, so it no longer throttles anything. The rehearsal has a further use. RFC 9989 says `t=y` invites intermediaries to apply their own special handling, such as rewriting From. Comparing reports from before and after the change shows how much of the domain's mail travels through intermediaries that do **not** rewrite, and so would be hurt by real enforcement. ## What the reports must show before each move - **Every legitimate source aligned.** Every source the owner recognises shows an aligned SPF or DKIM pass. An SPF pass for some other envelope domain does not count. - **DKIM carries the forwarded share.** Mail relayed by forwarders usually fails SPF. Section 7.4 says a domain at `p=reject` MUST NOT rely solely on SPF and MUST sign with DKIM, because plain forwarding generally leaves signatures valid. - **A full sending cycle observed.** Quarterly invoices, annual renewals and event mailings all appear in the reports. Section 5.1.7 warns that this may take many months. - **Remaining failures understood.** What still fails is forgery or known indirect mail (lists, forwarders) whose effect has been accepted. - **Mailing-list exposure measured.** For a domain whose users post to mailing lists, Section 7.4 advises at least a month at `none`, then an equally long period at `quarantine`, comparing dispositions. It also says such domains SHOULD NOT publish `reject` at all, a judgement each owner has to make. A DNS change rolls back within roughly one TTL. A step that turns up a forgotten sender can be stepped back while the sender is fixed.

  • How long should a domain stay at each DMARC stage?
    There is no fixed number. RFC 9989 Section 5.1.7 says it may take many months of aggregate reports before an owner is sure all its mail is authenticated. For a domain whose users post to mailing lists, Section 7.4 advises at least a month at `p=none` and an equally long period at `p=quarantine`. In practice each stage should cover a full sending cycle, so that quarterly and annual mailings appear in the reports.
  • What do you do with a source in the DMARC reports that you cannot identify?
    Find out whether anyone in the organisation sends through it: marketing tools, ticketing, payroll and partners are the usual surprises. If it is legitimate, give it an aligned DKIM signature or an aligned envelope domain before the next stage. If no owner can be found and the volume and pattern look like forgery, leave it failing. Enforcement exists to stop exactly that mail.
  • If all mail comes from news.example.org, does example.org need its own DMARC record during the rollout?
    Yes. RFC 9989 Section 5.1.4 says that when the organizational domain differs from the author domain, a record also needs to be published for the organizational domain. Receivers discover policy by walking up the DNS tree, and the parent's record also covers names under it that publish no record of their own.

  • Publish p=reject on day one; the aggregate reports can be read later.
  • Ramp enforcement with pct=10 under RFC 9989 to limit the damage.
  • Staying at p=none for years still protects the domain from forgery.
  • Setting t=y pauses the aggregate reports while the policy is tested.
  • Once every sender passes SPF for any domain, the From domain is ready for reject.
  • A fixed calendar, not what the reports show, decides when to move a stage.