Email

What is DMARC, and how do I set it up?

By Purlock · Updated 2 min read

The short answer

DMARC is a DNS record that tells inboxes what to do with email claiming to be from your domain but failing SPF and DKIM checks: deliver it anyway (p=none), send it to spam (p=quarantine) or refuse it (p=reject). It's what actually stops people sending email pretending to be you. Start with p=none and a report address, make sure your real email passes, then move to p=reject.

Key points

  • Without DMARC, anyone can send email with your address in the From line.
  • p=none only watches. Spoofing is only stopped at quarantine or reject.
  • Move up in steps, so your own email doesn't get blocked.
  • Domains that never send email should publish p=reject straight away.

How does DMARC work?

SPF checks which servers may send for a domain. DKIM signs each email so it can't be changed in transit. But neither checks that the domain people see in the From line is the domain that passed. DMARC adds that link, called alignment, and tells inboxes what to do when it fails.

It also asks inboxes to send you reports, so you can see every service sending as your domain, including ones you forgot about and ones that aren't you.

Email spoofing checker

Can someone send email pretending to be you? Find out in seconds.

Try it free

What does a DMARC record look like?

DMARC is a TXT record at _dmarc.yourdomain.com. A safe first record looks like this: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

DMARC policies and what they do
PolicyWhat happens to email that failsStops spoofing?
p=noneDelivered as normal, and reported to youNo
p=quarantineUsually sent to spamPartly
p=rejectRefused by the receiving serverYes

How do I set up DMARC step by step?

  1. Make sure SPF and DKIM are set up for every service that sends as your domain.
  2. Publish a DMARC record with p=none and a rua address for reports.
  3. Read the reports for two to four weeks, or use a service that summarises them. Fix any real sender that fails.
  4. Change to p=quarantine. Optionally start with pct=25 to apply it to a quarter of failing email first.
  5. Once nothing legitimate fails, change to p=reject.

How do I protect a domain that doesn't send email?

Parked and spare domains are easy to spoof because nobody watches them. Lock them with two records: an SPF record of v=spf1 -all, which says no server may send, and a DMARC record of v=DMARC1; p=reject. Every inbox will then refuse email claiming to be from them.

What do DMARC reports tell me?

Aggregate reports, sent to your rua address, are daily summaries from inboxes like Gmail and Outlook. They list every server that sent email claiming to be from your domain, how many messages, and whether SPF and DKIM passed and aligned.

They're XML files and hard to read by hand, so most people use a free or paid report service. The useful part is spotting a real sender that fails, like a billing tool you forgot to set up, before you tighten your policy, and spotting senders that aren't you at all.

More questions

Does DMARC stop lookalike domains?
No. It protects your exact domain. A scammer can still register yourshoop.com, which is what a lookalike domain finder looks for.
Will p=reject block my own emails?
Only ones that fail both SPF and DKIM alignment, which is why you read reports at p=none first and fix every real sender before tightening.
Do I need DMARC as a small business?
Yes. Gmail and Yahoo require it from bulk senders, and without it your invoices and receipts are easy to fake.