MailGateGuides › How to set up DMARC — a step-by-step rec

How to set up DMARC

DMARC is one TXT record. The work is not publishing it — that takes five minutes — it is reading the reports and authenticating the senders they expose.

Prerequisites

SPF and DKIM must already be working. DMARC only tells receivers what to do when both fail; publishing it first just produces noise. Verify both here.

Step 1 — publish this record

TypeTXT
Name_dmarc (i.e. _dmarc.example.com)
Valuev=DMARC1; p=none; rua=mailto:[email protected]; fo=1
TTL3600

Some DNS panels want the full name _dmarc.example.com instead of just _dmarc. If your record ends up at _dmarc.example.com.example.com, that is the mistake.

Step 2 — know what each tag does

Step 3 — receiving reports at another domain

To send reports to an address outside the domain, the receiving domain must authorise it with a TXT record at example.com._report._dmarc.reports-vendor.com containing v=DMARC1. Skip this and your reports are silently dropped.

Step 4 — read the reports

Aggregate reports are gzipped XML, one per receiver per day. Each row is a source IP with a count and SPF/DKIM pass-fail. You are looking for sources you do not recognise that are sending real mail — those are the systems you forgot to authenticate. Feed them to any DMARC report parser rather than reading raw XML.

Step 5 — tighten

Once every legitimate source passes and aligns, move to p=quarantine; pct=25, ramp to 100, then p=reject. Full sequence: policy rollout →

Verify my DMARC record — free →

Related guides


MailGate — free SPF, DKIM & DMARC checker. Check any domain →