Docs / Email Servers / Setting Up DMARC Records for Email Authentication

Setting Up DMARC Records for Email Authentication

By Admin · Feb 25, 2026 · Updated Apr 23, 2026 · 154 views · 1 min read

What Is DMARC?

Domain-based Message Authentication, Reporting, and Conformance (DMARC) builds on SPF and DKIM. It tells receiving servers what to do when messages fail authentication checks and provides a reporting mechanism.

Prerequisites

  • A valid SPF record published for your domain
  • DKIM signing configured for outgoing mail
  • An email address to receive DMARC reports

DMARC Record Format

Create a TXT record at _dmarc.example.com:

v=DMARC1; p=none; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; fo=1;

Policy Options

TagValuesMeaning
pnone / quarantine / rejectPolicy for failing messages
spnone / quarantine / rejectSubdomain policy
pct0-100Percentage of messages to apply policy to
ruamailto: URIAggregate report destination
rufmailto: URIForensic report destination
fo0, 1, d, sFailure reporting options

Recommended Rollout

  1. Monitor: Start with p=none and collect reports for 2-4 weeks
  2. Quarantine: Move to p=quarantine; pct=10 and gradually increase
  3. Reject: Once confident, set p=reject for full protection

Reading DMARC Reports

Aggregate reports (rua) arrive as XML files, typically daily. They show which IPs sent mail for your domain and whether messages passed SPF/DKIM alignment. Use tools like DMARC Analyzer or parsedmarc to make them readable.

Was this article helpful?