Improve Email Deliverability — SPF, DKIM & DMARC Setup

Step-by-step guide to configure SPF, DKIM, and DMARC records to prevent emails from landing in spam.

Diagnose your site now

Problem

Your emails are landing in spam folders or being rejected by recipients’ mail servers.

Top 3 Causes

  1. Missing SPF record — Receivers can’t verify your sending server is authorized. Add a TXT record like v=spf1 include:_spf.google.com -all.
  2. No DKIM signing — Without a cryptographic signature, messages can’t be authenticated. Configure DKIM in your email provider and publish the public key as a DNS TXT record.
  3. No DMARC policy — Without DMARC, receivers decide independently what to do with unauthenticated mail. Add v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com.

Diagnosis with DechoNet

  • DNS Lookup — Check the Email Security tab to see if SPF, DKIM, and DMARC records are present and valid.
  • Look for warnings about missing or misconfigured records.

Resolution Checklist

  • SPF: Add a TXT record at @v=spf1 include:<your-provider> -all. Keep under 10 DNS lookups.
  • DKIM: Generate a key pair in your email provider, publish the public key as a TXT record at <selector>._domainkey.example.com.
  • DMARC: Add a TXT record at _dmarc.example.comv=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com.
  • Start DMARC with p=none to monitor, then escalate to quarantinereject once verified.
  • Test by sending to a Gmail account and checking the “Show original” headers for SPF/DKIM/DMARC pass status.

Related Tools

Related Guides

Share this guide

[Ad] Guide Detail Inline
← Back to All Guides