DMARC Setup and Enforcement Guide

Cloud Server for Email
cloudserverforemail.com · infrastructure@cloudserverforemail.com · +372 602 3545
EU-Based Infrastructure
Operating Since 2015
DMARC Setup and Enforcement Guide
From p=none Monitoring to p=reject Enforcement
Version 2026-04 · Cloud Server for Email

DMARC Record Syntax

_dmarc.yourdomain.com IN TXT "v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com; ruf=mailto:dmarc@yourdomain.com; fo=1; adkim=s; aspf=s"

Required Tags

TagValueMeaning
vDMARC1Version (required, always DMARC1)
pnone / quarantine / rejectPolicy: what to do with failing mail
ruamailto:dmarc@yourdomain.comAggregate report recipient

Optional but Recommended Tags

TagValueMeaning
rufmailto:dmarc@yourdomain.comForensic (failure) report recipient
fo1Send forensic report on any auth failure (vs 0 = all fail)
adkims (strict) or r (relaxed)DKIM alignment mode
aspfs (strict) or r (relaxed)SPF alignment mode
pct5 to 100Percentage of mail to apply policy to (use during rollout)
spnone / quarantine / rejectSubdomain policy (defaults to main policy)

Enforcement Advancement Timeline

WeekPolicyCondition to Advance
1–4p=noneReceiving reports; reviewing for unauthorized senders
5–8p=none (continued)All legitimate senders appear in reports with pass
9–12p=quarantine; pct=5No legitimate mail being quarantined at 5% rollout
13–16p=quarantine; pct=25Clean at 25% for 2+ weeks
17–20p=quarantine; pct=100Clean at 100% for 2+ weeks
21–24p=reject; pct=5No legitimate mail being rejected at 5% rollout
25–28p=reject; pct=100Full enforcement — all unauthorized mail rejected

Reading DMARC Aggregate Reports

  • Reports are XML files sent to your rua address, usually daily
  • Each report shows: source IP, count, SPF result, DKIM result, disposition
  • Look for rows where spf and dkim both show "fail" — these are alignment failures
  • Look for unexpected source IPs — these may be unauthorized senders or misconfigured systems
  • Free DMARC report parsers: dmarcian.com, easydmarc.com, mxtoolbox.com/dmarc

Common DMARC Failures and Fixes

FailureCauseFix
SPF fail, DKIM pass → DMARC passDKIM alignment covers for SPFOK — but fix SPF for defense-in-depth
SPF pass, DKIM fail → DMARC failDKIM signature not verifyingCheck DNS record, key rotation, header canonicalization
Both failSending from IP/domain not authorizedAdd to SPF; configure DKIM signing
Third-party sender failingESP not configured for your domainConfigure ESP's DKIM with your domain, or use subdomain
Google Postmaster Tools shows your DMARC compliance rate for Gmail delivery. Target: 100% compliance before advancing policy beyond p=none.