Lesson 4 of 14 · 15m
DMARC Is the Enforcer
DMARC adds two things SPF and DKIM lack — alignment against the From: header and an enforcement policy receivers actually apply — plus reporting.
What Actually Happens
Your MTA publishes _dmarc.sudosecurity.org as a TXT record:
v=DMARC1; p=none; rua=mailto:dmarc@sudosecurity.org; fo=1; ri=86400A receiver that implements DMARC does three extra steps after SPF and DKIM. First, alignment: does the domain in the From: header match the domain SPF validated (the MAIL FROM domain, or HELO fallback) or the domain DKIM signed (d=)? Default alignment is relaxed — subdomains of the same organizational domain count as matching; aspf=s / adkim=s make it strict. Only one of the two needs to align for DMARC to pass. Second, policy: p= says what to do with failures — none (report only), quarantine (spam folder), reject (refuse). sp= overrides it for subdomains; pct= applies the policy to that percentage of failures. Third, reporting: aggregate XML summaries go to every rua= address, roughly daily.
The Wrong Mental Model
Two bad models here, opposite directions.
The optimistic one: "we published DMARC, we're protected." p=none enforces nothing. It is a monitoring stance — receivers report, then deliver anyway. Audit after audit finds domains parked at p=none years after setup, collecting reports nobody reads. Publishing the record is step one of three.
The pessimistic one: "flip to p=reject and spoofing dies." It dies for receivers that check DMARC. Plenty of small receivers don't. And inside your own org, every legitimate sender you forgot to enroll — the ticket system, the CRM, the invoicing tool, the monitoring cron — now fails alignment and gets rejected. That is why pct= exists: ramp quarantine at 25, then 50, then 100, reading reports at each step before touching reject.
What a Full Record Looks Like at Each Stage
Monitoring: v=DMARC1; p=none; rua=mailto:dmarc@example.org; fo=1; ri=86400. Ramping: p=quarantine; pct=25 — a quarter of failing mail folders while you chase stragglers. End state: p=reject; sp=reject; pct=100 — subdomains explicitly covered, everything failing refused at the SMTP transaction. ri= is just the requested report interval in seconds; fo=1 asks for a report when any mechanism fails rather than only when all do (the default fo=0), which surfaces the DKIM-passed-but-SPF-drifted cases that otherwise slip by silently.
Evidence
April 2014 is the canonical proof this has teeth. Yahoo moved to p=reject on April 4 and AOL followed on April 22, and every mailing list that redistributed their users' mail instantly started bouncing — the lists rewrote content (breaking DKIM) and relayed from their own IPs (failing SPF), so nothing aligned. The breakage was so severe it helped drive work on ARC and forced list software to rewrite From: to the list's own domain. p=reject on a domain whose mail flows through lists is not a posture, it's an outage.
Ten years later the leverage ran the other direction: Gmail and Yahoo's 2024 sender requirements mandated a DMARC record for bulk senders — p=none acceptable — because a domain with DMARC is a domain whose abuse reports have somewhere to go.
One more enforcement subtlety worth naming: DMARC alignment is checked against the organizational domain under relaxed mode, so mail.sudosecurity.org signing or envelope-sending aligns with From: ...@sudosecurity.org for free — subdomains are family. Under adkim=s/aspf=s they aren't, and every subdomain sender needs its own correct setup.
Correct Practice
rua= must point at a mailbox a human or a parser actually opens — an aliased dmarc@ into the admin mailbox works. Start p=none, read reports until every legitimate sender aligns, then walk quarantine up through pct= before reject. Leave alignment relaxed unless you have a specific reason — strict mostly buys breakage. Set sp= only when a subdomain needs a different policy — a subdomain with no _dmarc record of its own inherits the apex sp=, which defaults to p=, so p=reject on the apex already covers billing.yourdomain.org. And use fo=1 (report on any failure) rather than the default fo=0 — a message where DKIM passed but SPF failed alignment still tells you something about your infrastructure's behavior.
Keep reading
Related articles from the SudoSecurity blog.
Self-Hosted Email in 2026: Mailcow vs Mailu vs Stalwart — Which Mail Server Should You Trust?
Self-hosted email in 2026 comes with more choices than ever. This guide compares Mailcow, Mailu, and Stalwart across security, performance, resource usage, scalability, administration, and deliverability to help you choose the right mail server for your needs.
Stalwart 1.0 Says It's the Fastest Mail Server on the Planet. Here Are the Numbers.
After five years, Stalwart hit its first stable release on October 26 with benchmarks claiming it beats Postfix and Dovecot in 35 of 38 head-to-head tests. Every one of those numbers was produced by the vendor.
How to Self-Host Your Own Email Server With Mailcow in 2026 — Complete Setup Guide
How to Self-Host Your Own Email Server With Mailcow in 2026 — Complete Setup Guide Meta Description: Stop letting Google and Microsoft read your email. This guide sets up a complete private email server with Mailcow on a NetCup VPS — DNS, SPF, DKIM, DMARC, TLS, webmail, and mobile clients.
What Self-Hosters Are Ripping Out of Their Stacks in 2026
Self-hosted email is losing to Gmail's hard SMTP rejections. Self-hosted password managers are split down the middle. And self-hosted music is doing the opposite of what you'd expect.