Setting up DMARC

Add a TXT record at _dmarc on your domain. Start with this, using an address you can read:

v=DMARC1; p=none; rua=mailto:[email protected]

Then read the reports for a few weeks, fix any sender that fails, and move the policy to quarantine and then reject.

What the record says

A message passes DMARC when SPF or DKIM passes and the domain that passed matches the one in the From address. That matching ("alignment") is why a tool can pass SPF and still fail DMARC.

Going from none to reject

  1. p=none, 2–4 weeks. Collect reports. Every service that sends as you shows up, including the ones nobody remembered.
  2. Fix the failures. For each legitimate sender, set up DKIM on your domain (best) or add it to SPF. Anything you don't recognise is either forgotten or someone spoofing you.
  3. p=quarantine. Failing mail goes to spam. Watch the reports for another couple of weeks.
  4. p=reject. Failing mail is refused. Your domain can no longer be used for phishing in your name.

What Gmail and Yahoo require

Since February 2024, anyone sending more than 5,000 messages a day to Gmail must have SPF, DKIM and a DMARC record (p=none is enough), with the From domain aligned with SPF or DKIM. Yahoo has the same rule. Smaller senders are expected to have SPF or DKIM, and DMARC is the clearest way to show it's all in order.

Mistakes I see

Check your DMARC record

I'll read the policy, the reports address and the subdomain policy, and give you a corrected record if anything's off.

Related