Skip to content

Fixing SPF, DKIM & DMARC Failures

Overview

SPF, DKIM, and DMARC are essential DNS records used to validate your emails and prevent them from being marked as spam. If these fail, your emails may not be delivered correctly.

What Are SPF, DKIM & DMARC?

  • SPF (Sender Policy Framework): Lists the servers allowed to send mail for your domain.
  • DKIM (DomainKeys Identified Mail): Digitally signs your emails to verify authenticity.
  • DMARC (Domain-based Message Authentication, Reporting, and Conformance): Enforces SPF/DKIM rules and instructs receivers what to do with failed emails.

Common Causes of Failure

Failure TypeLikely ReasonFix
SPF failNo SPF record or wrong sending IPsAdd correct v=spf1 record including your mail server IP/domain
DKIM failDKIM record not published or misconfiguredCheck for default._domainkey TXT record and verify private key use
DMARC failSPF or DKIM failed and policy is strictAdd a v=DMARC1 TXT record with appropriate policy (p=none to start)
All pass but mail goes to spamLow domain reputation or missing PTR recordsAuthenticate and warm up your domain, ensure PTR record exists