Marketing

Email Deliverability: SPF, DKIM and DMARC in Plain English

SPF, DKIM and DMARC – Email Deliverability: SPF, DKIM and DMARC in Plain English

In this guide: SPF, DKIM and DMARC explained in plain English: what each record does, how to set them up, and how to check your email deliverability.

You send an important email — a proposal, an invoice, an order confirmation — and it lands in spam or disappears. Often, the reason is missing email authentication. Three DNS records — SPF, DKIM, and DMARC — prove to inbox providers that your emails are legitimate.

Why deliverability matters

  • Business communication: clients must receive your emails.
  • Website emails: contact forms, password resets, and order confirmations must arrive.
  • Marketing: newsletters in spam don’t get read.
  • Brand protection: without authentication, scammers can more easily send emails pretending to be your domain.

Major providers like Gmail and Yahoo now require authentication for bulk senders, and all senders benefit from proper setup.

Think of it like a letter:

  • SPF = a list of approved post offices that may send letters for you.
  • DKIM = a tamper-proof wax seal on each letter.
  • DMARC = your instructions for what to do with letters that fail the checks — plus reports about them.

SPF explained

SPF (Sender Policy Framework) is a DNS TXT record listing which servers are allowed to send email for your domain.

Example:

v=spf1 include:_spf.google.com include:sendgrid.net ~all
  • v=spf1 — this is an SPF record.
  • include: — authorizes a service’s sending servers (here, Google Workspace and SendGrid).
  • ~all — soft fail for anything else (mark as suspicious). -all is a hard fail (reject).

Rules:

  • Only one SPF record per domain. If you use multiple services, combine them into one record.
  • SPF has a limit of 10 DNS lookups — too many include: statements can break it.
  • Add every service that sends as your domain: business email, website/SMTP service, marketing platform, CRM, and helpdesk.

DKIM explained

DKIM (DomainKeys Identified Mail) adds a digital signature to each email. The sending server signs messages with a private key; receiving servers verify it using a public key published in your DNS.

  • Proves the email wasn’t altered in transit.
  • Proves it was authorized by the domain owner.

Setup:

  1. In your email service’s admin panel, generate DKIM keys.
  2. Add the provided DNS record (usually TXT or CNAME) with a selector name, e.g., google._domainkey.yourdomain.com.
  3. Activate DKIM signing in the service.

Each sending service (Google Workspace, Microsoft 365, your transactional email provider, your newsletter platform) should have its own DKIM record.

DMARC explained

DMARC (Domain-based Message Authentication, Reporting and Conformance) tells receiving servers what to do if an email fails SPF and DKIM checks — and sends you reports.

DMARC also checks alignment: the domain in the visible “From” address must match the domain authenticated by SPF or DKIM.

Example DNS TXT record at _dmarc.yourdomain.com:

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

Policies:

  • p=none — monitor only (start here).
  • p=quarantine — send failing emails to spam.
  • p=reject — block failing emails entirely.

Recommended path:

  1. Start with p=none and collect reports for a few weeks.
  2. Fix any legitimate services that fail (add them to SPF, set up DKIM).
  3. Move to p=quarantine, then eventually p=reject for strong protection against spoofing.

DMARC reports are XML files; free and paid DMARC report analyzers make them readable.

Checking your setup

  1. Send an email to Gmail and open “Show original.” You should see SPF: PASS, DKIM: PASS, DMARC: PASS.
  2. Use online DNS/email authentication checkers to look up your SPF, DKIM, and DMARC records and find errors.
  3. Use a mail tester service for an overall deliverability score.
  4. Review DMARC reports to discover unknown services sending as your domain.
  5. Check blacklists if emails still land in spam.

Beyond authentication:

  • Send only to people who opted in.
  • Include easy unsubscribe links in marketing emails.
  • Keep spam complaint rates low.
  • Warm up new domains and IPs gradually for bulk sending.
  • Avoid spammy content and misleading subject lines.

For WordPress sites, pair these records with proper SMTP — see How to Set Up SMTP in WordPress.

Further reading: Google Search Central SEO Starter Guide

Key Takeaways: SPF, DKIM and DMARC

  • SPF lists who may send for your domain — one record, combined services.
  • DKIM signs each email to prove authenticity.
  • DMARC sets policy and provides reports; start with p=none, then tighten.
  • Check headers for PASS results and monitor DMARC reports.
Z
zasma171

Writes for Hostreta about the topics covered in this article.

Comments (0)

Your email address will not be published. Required fields are marked *

Recent Comments

No comments to show.
Ad · AdSense
Ad space 300×250
Affiliate links
Tools we recommend
Protect Your Website with Automated Daily Backups
$2.09
Get it
the easiest way to manage all of your social media accounts
$29
Get it
Starter Website Get online, properly
$249
Get it
google workspace Business Starter
$3.75
Get it
Nord Vpn Cybersecurity. Built for Everyday Use
$8.99
Get it

We may earn a commission on purchases made through these links, at no extra cost to you.

Ad · AdSense
Ad space 300×600
Ad · AdSense
Ad space 300×600

$ top hosting picks

affiliate
★★★★★

NovaHost

$2.95/mo,renews at $9.95
  • Free SSL + domain, first year
  • 1-click WordPress install
  • 24/7 chat, sub-5-min response
get this deal →
affiliate link · we may earn a commission
★★★★★

CloudRoot

$4.50/mo,renews at $12.95
  • Built-in CDN + caching
  • Daily backups, 30-day retention
  • Staging environments included
get this deal →
affiliate link · we may earn a commission
★★★★★

AI SiteBuilder

$1.49/mo,renews at $13.99
  • 5 Websites
  • Emails & Security Included
  • AI Website Builder for WordPress
get this deal →
affiliate link · we may earn a commission

Never miss a new article

Join thousands of developers and builders getting a weekly digest of the best tech articles.