Anyone can send a message with your domain in the From field: SMTP does not forbid it. That is exactly how phishing “from the bank” or “from the CEO” is sent. DMARC is a DNS record that tells mail providers what to do with such forgeries — and sends you reports on who is sending mail in your name.

Three records that work together

Without DMARC, a forgery sent from someone else’s server, with SPF and DKIM set up for the scammer’s own domain, formally passes the checks. With DMARC, it does not.

What the record looks like

The TXT record is published at _dmarc.example.com:

v=DMARC1; p=none; rua=mailto:dmarc@example.com; adkim=r; aspf=r

The mail records generator helps build SPF, DKIM and DMARC, and the DNS lookup with its “Check the domain’s mail setup” button shows what is actually published.

Rolling it out step by step

  1. Monitor. Publish p=none with an rua address. Mail is unaffected, and reports start arriving within a day.
  2. Read the reports. For 2–4 weeks, see which servers send mail in your name. Not just your mail service, but newsletters, CRM, the website and the invoicing service.
  3. Fix. Add legitimate services to SPF and turn on DKIM signing with your domain in each of them.
  4. Quarantine. Once almost all your mail passes DMARC, move to p=quarantine, perhaps with pct=25 at first.
  5. Reject. After a couple more weeks without complaints, switch to p=reject. Now forgeries no longer reach anyone.

How to read the reports

Reports arrive as ZIP or GZ archives with XML inside, which is hard to read by eye. Open them in the DMARC report viewer: it adds the files up, shows the share of mail that passed DMARC and the senders with their SPF and DKIM results, and tells you what to fix.

What the report showsWhat it means
DKIM pass but DMARC fail, signature d=sendgrid.netThe newsletter service signs with its own domain. Turn on signing with your domain (custom DKIM) there.
SPF pass for the service’s domain, DMARC failThe envelope belongs to the service. A DKIM signature with your domain is usually enough.
Unknown IPs, everything failsSpoofing or a forgotten service. Check the server name and whois before switching to reject.
Your servers, SPF fail on forwarded mailForwarding breaks SPF but not DKIM. That is why DKIM is a must.

Why it matters now

Since 2024 Gmail and Yahoo, and since 2025 Outlook.com, require bulk senders to have SPF, DKIM and a DMARC record — without them, mail goes to spam or is rejected. But even a small company needs DMARC: it protects customers from messages “from you” and protects you from a spammer’s reputation. And to read mail headers and see why a particular message failed, use the e-mail header analyzer.