DNS & infrastructure

DMARC

Domain-based Message Authentication — a DNS record telling receivers what to do when SPF or DKIM fails (allow, quarantine, or reject), and where to send reports about who is sending as your domain.

Domain-based Message Authentication — a DNS record telling receivers what to do when SPF or DKIM fails (allow, quarantine, or reject), and where to send reports about who is sending as your domain.

What DMARC decides

SPF and DKIM each authenticate something, but neither is tied to the address the reader sees. DMARC adds that tie. A message passes DMARC when SPF or DKIM passes and the domain that passed matches (aligns with) the From domain. One is enough, not both.

Alignment is the part people miss. A sequencer that sends from its own domain can pass SPF for its domain and still fail DMARC for yours.

The record

DMARC is a TXT record at _dmarc.yourdomain.com:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

  • p — the policy: none (monitor), quarantine (spam folder), or reject.
  • rua — where to send daily aggregate reports.
  • sp — a different policy for subdomains, if you want one.
  • adkim / aspf — relaxed (default) or strict alignment.

How to roll it out without losing mail

  1. Publish p=none with a rua address and leave it for a couple of weeks.
  2. Read the reports. They list every source sending as your domain, including ones you forgot.
  3. Fix SPF and DKIM for each legitimate sender.
  4. Move to quarantine, then reject, only once real mail is passing.

Going straight to reject is how a company's invoices start vanishing.

Why it matters for outbound

Gmail and Yahoo have required DMARC from bulk senders since 2024, at a minimum p=none. Cold-email volume per domain is usually far lower, but a published, aligned policy still helps. Generate one with the DMARC generator and see the full SPF/DKIM/DMARC explainer.

Also see: SPF, DKIM

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

Publish as TXT at _dmarc.yourdomain.com. Start at p=none until SPF and DKIM pass on real mail.

Related