ADR-0038: The apex's DMARC record reports to the mail subdomain#

  • Status: accepted. Replaces ADR-0008's decision to publish no DMARC rua=; the rest of ADR-0008 stands.
  • Date: 2026-11-28

Context#

ADR-0008 publishes DMARC p=reject at the apex with no rua=, because aggregate reports need a mailbox and the domain had none, and a reporting address that goes nowhere is worse than none. ADR-0037 gives the domain one: dmarc@mail.testz.dev, whose messages reach the owner.

Without reports, the apex's policy cannot be seen working. Receivers apply p=reject silently, so nothing shows whether anyone forges testz.dev, which receivers see the forgeries, or whether they reject them. Principle 8 asks for verification from outside, and aggregate reports (RFC 7489 §7.2) are the receivers' own account of exactly that.

Decision#

  1. The apex's DMARC record gains a report address: v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s; pct=100; rua=mailto:dmarc@mail.testz.dev. The rest of ADR-0008 stands: the null MX, SPF -all, the empty DKIM wildcard, and no MTA-STS or TLSRPT at the apex.
  2. The address is published only while it receives. It follows enable_mail, and is added in the same change as the mailbox or after it, never before. With mail off, the apex's record is ADR-0008's again.
  3. No authorisation record is needed. The address shares the apex's organisational domain, so receivers do not look for a _report._dmarc record (RFC 7489 §7.1).
  4. The decision test changes with the decision. The test that forbids a rua= on the apex asserts this address instead, and the health check reads it beside the policy.

Alternatives considered#

No rua=, as now. The policy stays unobservable, and the reason for leaving it out, having no mailbox, no longer holds.

Failure reports (ruf=) as well. They carry the headers, and sometimes the content, of other people's messages, few receivers send them, and aggregate reports answer the question this decision asks.

A third-party reporting service, which ADR-0008 also considered. A third party sees every report (principle 5), and the domain now has a mailbox of its own.

A separate address for the apex's reports. Each report names the domain it covers, so one address serves the apex and the subdomain.

Consequences#

Positive: forgeries of testz.dev, and how receivers treat them, become visible in the receivers' own reports. Reports arrive through the forwarder like any other mail, so nothing new is built to read them. A receiver sends an aggregate report about once a day (ri defaults to 86,400 seconds), so they cannot flood the mailbox.

Negative:

  • The apex's record depends on the mail subdomain. Turning mail off must take the rua= with it, which decision 2 ties together.
  • Reports are compressed XML attachments, read by hand.
  • A test that asserted a decision changes. This ADR is the record that the decision changed first.

Neutral: the address is public, as every rua= is. It is a role address on the project's own domain, not a person's, so ADR-0011 does not apply to it.

Revisit when#

  • Reports are too many to read by hand: parsing them is a new mechanism (ADR-0029).
  • The mail subdomain is removed: the rua= goes with it.

Built 2026-12-01 from commit 5f3eb2c4b04f9d8367364b6f4598a05a364e2263. This page was generated from the same source that provisions the infrastructure it describes.