Agent Wranglers

EML-11Required

Enforce DMARC

Publish a DMARC record, read its reports, and move from p=none to p=quarantine and then p=reject once all mail passes.

How to do it

DMARC (RFC 9989, which replaced RFC 7489 in May 2026) passes when SPF or DKIM passes on a domain aligned with the visible From. Start with p=none and a rua address for aggregate reports (RFC 9990). Fix every source the reports show. Move to p=quarantine after at least a month of reports with every legitimate source passing. Move to p=reject after another clean month, and only with DKIM on every message. RFC 9989 advises against p=reject on domains where staff post to mailing lists. Set np=reject so made-up subdomains cannot be spoofed. The old pct tag is gone, so use t=y to test a stricter policy. Records still start with v=DMARC1. Gmail, Yahoo and Microsoft require at least p=none from bulk senders. Align the signature first, as Sign every message with DKIM says.

Examples

DNS example

_dmarc.example.com.  3600  IN  TXT  "v=DMARC1; p=reject; np=reject; rua=mailto:dmarc-reports@example.com; adkim=r; aspf=r"

How to check

dig +short TXT _dmarc.example.com returns one record with p=quarantine or p=reject. A month of aggregate reports shows every legitimate source passing.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/email/sending-domain-and-authentication/dmarc">Agent Wranglers email playbook</a>. In code you write, add a comment next to it with the same link.