Skip to content

Lesson 6 of 9 · 28m

DMARC: Alignment, Reporting, and the Painful Road to Enforcement

Deploy DMARC from monitoring to enforcement with aggregate and forensic reporting, subdomain policy, alignment modes, and realistic expectations.

DMARC is where email authentication stops being a collection of interesting signals and becomes policy. It tells receivers how to treat mail whose visible From: domain does not align with authenticated SPF or DKIM, and it gives you reports about who is sending as your domain. The technology is straightforward. The organizational archaeology is not.

DMARC is built on alignment

DMARC passes when at least one of these is true:

SPF passes and the envelope sender domain aligns with header From
DKIM passes and the d= domain aligns with header From

The visible From: domain is the anchor. This distinction matters because both SPF and DKIM can pass for domains that have nothing to do with the domain a human sees. DMARC is the layer that ties authentication to display identity.

A baseline record:

_dmarc.sudosecurity.org. 300 IN TXT "v=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc@sudosecurity.org; ruf=mailto:dmarc-forensic@sudosecurity.org; fo=1; adkim=r; aspf=r"

Do not copy that blindly. p, sp, pct, report addresses, and alignment modes all need intent.

Roll out in stages because inventory is incomplete

The safe rollout shape is boring:

p=none          monitor only, collect aggregate reports
p=quarantine    suspicious mail goes to spam/junk or quarantine
p=reject        receiver should reject unaligned mail

Use pct if you need partial enforcement during transition, but understand that it samples enforcement, not risk in a perfectly predictable way. p=none still reports. It does not protect. Teams often park there for years and call it a DMARC deployment; it is a listening post, not a control.

Aggregate reports are ugly but indispensable

RUAs are XML documents sent by receiving organizations. They show source IPs, counts, authentication results, and disposition. Raw XML is not a dashboard:

<record><row>
  <source_ip>198.51.100.24</source_ip><count>18</count>
  <policy_evaluated><disposition>none</disposition><dkim>pass</dkim><spf>fail</spf></policy_evaluated>
</row><identifiers><header_from>sudosecurity.org</header_from></identifiers>
<auth_results><dkim><domain>mail.sudosecurity.org</domain><result>pass</result></dkim>
<spf><domain>mailprovider.example</domain><result>fail</result></spf></auth_results></record>

Read these as inventory. Every legitimate source needs a decision: configure alignment, stop it, or accept that it will fail under enforcement. Every illegitimate source is abuse data. Parsing reports manually does not scale; use a report processor, but retain the raw reports for investigation.

Subdomain policy is a hidden blast radius

sp= controls subdomains. If absent, subdomains inherit organizational policy behavior in ways operators often do not expect. A strict organizational policy can break a forgotten legacy service sending as news.sudosecurity.org, or expose you if vendors use random subdomains without DMARC coverage.

Be deliberate:

v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@sudosecurity.org

For dormant domains, strict reject records are one of the few genuinely satisfying wins in email. If a domain should never send mail, publish SPF denial, empty MX expectations where appropriate, and DMARC reject. Do not leave parked domains available as brand impersonation infrastructure.

Field notes

  • Use a mailbox or processing pipeline that can handle large compressed XML attachments.
  • Report data arrives delayed and unevenly. Do not treat one quiet day as proof of absence.
  • Mailing lists and forwarding often break SPF but preserve DKIM; enforce only after understanding those flows.
  • Once at p=reject, monitor user complaints about missing mail from legitimate but misconfigured internal vendors.
  • Protect report addresses from becoming spam sinks. They will attract noise and occasionally sensitive samples.

Was this lesson helpful?

Sign in to rate