0 / 24 done on this device
Stage 5 · Lesson 1 of 4 · EXPLAINER · 8 min

SPF, DKIM and DMARC explained

Setup for 5 providers

By the wpdailylive editorial team · Part of Email marketing, step by step

Key takeaways

  1. SPF: Lists which services may send email for your domain.
  2. DKIM: Signs messages to prove they weren’t altered.
  3. DMARC: Tells inboxes what to do when checks fail; start at p=none.
  4. Required for bulk senders: Gmail and Yahoo require all three above 5,000 emails a day.
  5. One SPF record: Multiple SPF records break authentication.

These three DNS records prove to inbox providers that your emails really come from you. Gmail and Yahoo now require them for bulk senders, and without them more of your email lands in spam.

NEW SENDER RULES
5,000+emails a day to Gmail must have SPF, DKIM and DMARC
< 0.3%spam complaint rate required
1 clickunsubscribe required in marketing email
Source: Google and Yahoo bulk sender requirements, 2024
RECORDWHAT IT DOESIN PLAIN ENGLISH
SPFLists the servers allowed to send for your domain"These services can send as us"
DKIMAdds a digital signature to each email"This email wasn't changed on the way"
DMARCTells inboxes what to do if SPF or DKIM fail"If it fails, here's how to handle it"

How to set them up

  1. 01Find your platform's authentication pageUsually under Settings → Domains or Sender authentication.
  2. 02Add your domainThe platform generates the exact records you need.
  3. 03Copy the records into your DNSAt your domain registrar or host, such as Cloudflare, GoDaddy or Namecheap.
  4. 04VerifyReturn to your email platform and click verify. DNS changes can take up to 48 hours.
  5. 05Add a DMARC recordStart with a monitoring policy (p=none), then tighten it once reports look clean.
EXAMPLE DNS RECORDS FOR YOURBUSINESS.COM
TXT@v=spf1 include:spf.yourplatform.com ~all
CNAMEmail._domainkeymail._domainkey.yourplatform.com
TXT_dmarcv=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.com

Where to find the setup page

PLATFORMWHERE TO LOOK
BrevoSenders, domains and dedicated IPs → Domains
MailerLiteAccount settings → Domains
KlaviyoSettings → Domains
KitSettings → Email → Sending domain
MailchimpWebsite → Domains

Roll out DMARC safely

STAGEDMARC POLICYHOW LONGWHAT TO DO
1. Monitorp=none2–4 weeksRead reports; find every service sending as your domain
2. Fixp=noneUntil reports are cleanAdd missing services to SPF and set up DKIM for each
3. Quarantinep=quarantine2–4 weeksFailing mail goes to spam; watch for problems
4. Rejectp=rejectOngoingFailing mail is blocked; your domain is protected from spoofing

Common mistakes and fixes

PROBLEMFIX
Two SPF recordsMerge them into one record with several include: entries
SPF “too many lookups” (over 10)Remove services you no longer use; avoid nested includes
DKIM missing for your email platformTurn on custom domain authentication in the platform and add its CNAME records
DMARC fails for a forwarding serviceCheck reports; DKIM usually survives forwarding when SPF doesn’t
Changes not showingDNS can take up to 48 hours; check with a free lookup tool

Check your setup in five minutes

  1. 01Send yourself a test email to GmailOpen it, choose “Show original”.
  2. 02Look for three passesSPF: PASS, DKIM: PASS, DMARC: PASS.
  3. 03Fix any failUse the table above, then test again.

What each record does, in one line

RECORDPROVESANALOGY
SPFWhich servers may send email for your domainThe guest list at the door
DKIMThe email wasn’t changed and really came from your domainA tamper-proof wax seal
DMARCWhat receivers should do if SPF/DKIM fail, and sends you reportsThe house rules, plus a CCTV report

Example records

RECORDHOSTEXAMPLE VALUE
SPF (TXT)@v=spf1 include:_spf.google.com include:servers.mcsv.net ~all
DKIM (TXT or CNAME)selector._domainkeyProvided by each sending service (Google, Microsoft, your email platform)
DMARC (TXT), start_dmarcv=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.com
DMARC (TXT), enforce_dmarcv=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc@yourbusiness.com

DMARC alignment: the part most people miss

DMARC passes only if SPF or DKIM passes and the domain it checks matches (aligns with) the domain in your visible From address. If your newsletter platform signs with its own domain, DKIM passes but doesn’t align, and DMARC fails. Fix it by setting up the platform’s custom domain authentication so it signs with yourbusiness.com.

Mailbox provider rules you now have to meet

REQUIREMENTWHO ASKS FOR IT
SPF and DKIM for all sendersGmail, Yahoo and Outlook.com
DMARC (at least p=none) for bulk sendersGmail and Yahoo (since February 2024) and Outlook.com (since 2025)
One-click unsubscribe in marketing emailsGmail and Yahoo for bulk senders
Spam complaint rate under 0.3% (aim under 0.1%)Gmail and Yahoo

Bulk senders are those sending around 5,000 or more messages a day to Gmail; smaller businesses are increasingly held to the same standards in practice, so set all three records up whatever your volume.

Fix common errors

ERRORCAUSEFIX
SPF permerror: too many DNS lookupsMore than 10 lookups across includesRemove unused services; flatten includes
Two SPF recordsAdded a new record instead of editingMerge into one v=spf1 record
DKIM fails after DNS changeRecord copied with a typo or split badlyCopy again; check with a DKIM checker
DMARC fails but SPF and DKIM passNo alignmentAuthenticate your domain in each sending platform

Email authentication checklist

SPF, DKIM AND DMARC CHECKLISTInteractive · saves on this device
0 of 7 done · 115 min left
Inventory
Records
Check and tighten
Tick each task as you finish it.

Tools to check your setup

  • •Send an email to Gmail and use “Show original” to see SPF, DKIM and DMARC results
  • •MXToolbox or similar free lookup tools for each record
  • •Google Postmaster Tools for spam rate and reputation (needs volume to show data)
  • •A DMARC report service to read aggregate reports

Common mistakes to avoid

✕ Two SPF recordsMerge into one.
✕ Forgetting a sending serviceList every tool that sends as you.
✕ Jumping straight to p=rejectRead reports first.
✕ Ignoring alignmentUse custom domain authentication in each platform.
PEOPLE ALSO ASK
What are SPF, DKIM and DMARC?

DNS records that authenticate your email: SPF lists allowed senders, DKIM adds a digital signature and DMARC sets the policy for failures and sends reports.

How do I set up SPF, DKIM and DMARC?

List every service that sends as your domain, create one SPF record including them, enable DKIM in each service, then add a DMARC record starting at p=none.

What is a DMARC record example?

v=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.com — then move to p=quarantine once reports look clean.

What is DMARC alignment?

The domain checked by SPF or DKIM must match the domain in the From address for DMARC to pass.

Do small businesses need DMARC?

Yes. Gmail, Yahoo and Outlook expect it from bulk senders, and it protects your domain from spoofing.

Why are my emails going to spam even with SPF and DKIM?

Check DMARC alignment, spam complaints, list quality, sending volume spikes and whether you have one-click unsubscribe.

Reviews of tools in this lesson