DMARC: publish a policy
Last updated: 2026-11-16
Google requirement
What it is #
DMARC is a TXT record at _dmarc.yourdomain.com. It tells receiving servers what to do when a message claims to be from your domain but fails SPF and DKIM alignment: nothing (p=none), send it to spam (p=quarantine) or reject it (p=reject). It also asks them to send you daily reports.
Why it matters #
Gmail requires DMARC for bulk senders. For everyone else, it's what actually stops someone else from sending email as your domain. The reports show you every service sending as you, including ones you forgot about.
How we check it #
We look up the TXT record at _dmarc.yourdomain.com and pass this check if it starts with v=DMARC1. We also record the policy (none, quarantine or reject). Any policy passes today; p=none is the right place to start.
How to fix #
- Make sure SPF or DKIM is working first. DMARC builds on them. See SPF and DKIM.
- Publish a monitoring policy, with reports sent to a mailbox you read:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com; fo=1
- Read the reports for 2–4 weeks. Fix any legitimate sender that fails.
- Tighten to
p=quarantine, then laterp=reject.
Name: _dmarc.yourdomain.com Type: TXT TTL: 300
Value: "v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com; fo=1"DNS → Add record → Type: TXT → Name: _dmarc
Content: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com; fo=1DNS → Add → TXT → Host: _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com; fo=1Verify it yourself #
dig +short TXT _dmarc.yourdomain.comTips #
- The report address must receive mail. Create
dmarc@as an alias or group before you publish, otherwise the reports disappear. - Reports are XML. A free DMARC report viewer makes them readable. Look for your own services failing, not just spoofers.
- Don't jump straight to
p=reject. If a forgotten sender (invoicing, help desk) isn't authenticated, you'll block your own mail. - Subdomains: a record on the root covers subdomains unless they publish their own. We run separate records for
gtmrun.co(Google Workspace) andmail.gtmrun.co(Resend), both atp=nonewhile we collect reports.
Sources #
- Google: Email sender guidelines
- Google Workspace: Set up DMARC
- RFC 7489 — DMARC