DMARC

DMARC (Domain-based Message Authentication, Reporting and Conformance): a rule in a domain's DNS that tells mailbox providers what to do with emails sent in its name if they fail SPF and DKIM checks. Described in RFC 7489.

The record is published as TXT for the name _dmarc.example.com, for example: v=DMARC1; p=none; rua=mailto:dmarc@example.com. The p parameter sets the policy: none only collects reports, quarantine puts suspicious emails in spam, reject refuses to accept them.

The main thing DMARC adds is alignment. A check counts only if the domain from SPF or DKIM matches the domain in the From field the reader sees. Usually you start with p=none and read the daily reports at the rua address. Once they show only your legitimate sources, tighten the policy to quarantine, then to reject.