Domain-based Message Authentication, Reporting and Conformance (DMARC)
Why DMARC Is Important
DMARC is the enforcement mechanism that makes SPF and DKIM actionable. Without DMARC, receiving servers may accept emails that fail SPF or DKIM without any consequences. DMARC gives domain owners the power to instruct receivers to quarantine or reject unauthorized emails.
The alignment requirement is key to DMARC's effectiveness. DMARC checks that the domain in the From header (what the user sees) matches either the SPF-authenticated domain or the DKIM-signing domain. This prevents attackers from passing SPF with their own domain while spoofing yours in the From header.
DMARC also provides valuable reporting. Aggregate reports (rua) show which servers are sending email using your domain, including both legitimate services and unauthorized senders. This visibility is essential for identifying all your legitimate email sources before moving to an enforcing policy (quarantine or reject). Start with p=none to collect data, then gradually move to p=quarantine and eventually p=reject.
Configuration Reference
| DMARC Tag | Purpose | Example |
|---|---|---|
| v | Version (required) | v=DMARC1 |
| p | Policy (required) | p=reject |
| rua | Aggregate report URI | rua=mailto:dmarc@example.com |
| ruf | Forensic report URI | ruf=mailto:forensic@example.com |
| pct | Percentage to apply policy | pct=100 |
| adkim | DKIM alignment mode | adkim=s (strict) |
| aspf | SPF alignment mode | aspf=r (relaxed) |
Checking Your Setup
A DNS health checker validates your DMARC record syntax and policy. It checks alignment with your SPF and DKIM records. Start monitoring with p=none and an rua address to collect reports before enforcing. Move to p=reject once you are confident all legitimate senders are authenticated.
Check DNS HealthIn Practice
The UK government mandated DMARC for all gov.uk domains starting in 2016. After implementing p=reject across government domains, they blocked over 500 million spoofed emails in the first year. The success led to DMARC becoming a requirement for U.S. federal agencies under BOD 18-01.