DMARC
DMARC (Domain-based Message Authentication, Reporting and Conformance) is an email authentication policy protocol that builds on SPF and DKIM. It allows domain owners to specify how receiving servers should handle messages that fail authentication checks, and provides reporting on email authentication results.
Key Aspects
Policy Enforcement
Tells receiving servers whether to reject, quarantine, or accept emails that fail SPF/DKIM checks.
Reporting
Provides aggregate and forensic reports on email authentication results for your domain.
Phishing Defense
Prevents attackers from sending emails that appear to come from your domain.
Gradual Deployment
Supports a phased rollout from monitoring (p=none) to quarantine to full rejection (p=reject).
How DMARC Works
Publish a DMARC Record
Add a DNS TXT record at _dmarc.yourdomain.com specifying your policy (none, quarantine, or reject) and a reporting email address.
Receiving Server Checks
When an email arrives, the receiving server checks SPF and DKIM, then looks up the DMARC record to determine the domain's policy.
Alignment Verification
DMARC verifies that the domain in the From header aligns with the domains authenticated by SPF and/or DKIM.
Policy Application & Reporting
The receiving server applies the DMARC policy (none/quarantine/reject) and sends authentication reports back to the domain owner.