DEV Community

DNSFix
DNSFix

Posted on Originally published at dnsfix.com

DKIM passes but DMARC still fails: the alignment trap

DMARC needs the domain that passed to match your From address. Many tools sign with their own domain, so DKIM passes but DMARC still fails.

Why it happens

DMARC asks one question: did SPF or DKIM pass for the same domain that's in the From line? That match is called alignment.

  • A newsletter or CRM tool often signs mail with its own domain, like sendgrid.net. DKIM passes, for them, not for you.
  • SPF checks the hidden "return path" address, which is usually the tool's domain too. So both pass, neither matches yourbusiness.com, and DMARC fails.

Fix it

  1. Open the email's full headers ("Show original" or "View source") and look for the d= value in the DKIM signature. If it isn't your domain, alignment fails.
  2. In the sending tool, find "domain authentication", "custom DKIM" or "branded sending domain" and follow its steps. It gives you one to three CNAME or TXT records to add.
  3. Send another test. The d= value should now be your domain and DMARC should pass.
  4. Do this for every tool that sends as you. Your DMARC reports list them.

First published on DNSFix. Check your own domain free at dnsfix.com.

Top comments (0)