Skip to content
spfdkimdmarcemail-authenticationemail-deliverability

SPF, DKIM, and DMARC Explained: The Authentication Trinity

A plain-English breakdown of the three email authentication standards every sender needs, plus who enforces them and what comes next.

Palaniappan P

7 min read

SPF, DKIM, and DMARC Explained: The Authentication Trinity
On this page

SPF, DKIM, and DMARC are the three DNS-based standards that prove to receiving mail servers that your email is legitimate. Together they make up domain authentication, the proof that a message really comes from the domain it claims. Without all three configured correctly, your domain is vulnerable to spoofing and ISPs will treat your email with increased suspicion, and increasingly, reject it outright.

DMARC adoption has surged: according to the Validity 2025 Email Deliverability Benchmark Report, global DMARC implementation among active sending domains jumped significantly between 2023 and 2025, driven almost entirely by enforcement: Gmail, Yahoo, Microsoft Outlook, and La Poste now all require DMARC for bulk senders.

Authentication by the Numbers

100%SPF/DKIM pass rate you should target
64%increase in global DMARC adoption, 2023–2025
10maximum DNS lookups allowed in an SPF record
p=rejectDMARC policy for maximum protection (and BIMI eligibility)

SPF vs DKIM vs DMARC at a glance

Each record answers a different question, and DMARC is the only one that sets a policy.

SPF DKIM DMARC
Question it answers Is this server allowed to send for the domain? Was this message signed with the domain’s key and left unaltered? Do SPF or DKIM align with the From domain, and what happens if not?
Where it lives TXT record at your domain TXT record at a selector under _domainkey TXT record at _dmarc.yourdomain.com
Common failure More than 10 DNS lookups Selector in DNS does not match the one your ESP signs with No record, or a policy stuck at p=none

SPF: Sender Policy Framework

SPF is a DNS record that lists every IP address and domain service authorized to send mail on your behalf.

How It Works

  1. You publish a TXT record at your domain: v=spf1 include:your-esp.com ~all
  2. When Gmail receives an email claiming to be from you, it checks if the sending IP is in your SPF record
  3. If it matches, SPF passes. If not, the ~all (softfail) or -all (hardfail) policy kicks in

Common Mistakes

  • Exceeding 10 DNS lookups: SPF limits you to 10 lookups. Tools like SPF flattening help reduce this count.
  • Missing ESPs: Added a new email tool? Update your SPF record.
  • Wrong qualifier: Start with ~all (softfail) before switching to -all (hardfail)

DKIM: DomainKeys Identified Mail

DKIM adds a digital signature to every email you send, proving the content wasn’t modified in transit.

How It Works

  1. Your email provider generates a public/private key pair
  2. The private key signs every outgoing email’s headers
  3. You publish the public key as a DNS TXT record
  4. Receiving servers verify the signature using your public key

Why It Matters

DKIM is required for DMARC alignment. Without it, your DMARC policy is based only on SPF, which is weaker and doesn’t authenticate the visible From address.

DMARC: Domain-based Message Authentication, Reporting & Conformance

DMARC is the policy layer that ties SPF and DKIM together and provides reporting.

The Three Policies

Policy Effect
p=none Monitor only, no action taken on failures
p=quarantine Failed messages go to spam
p=reject Receivers are asked to reject failed messages (they may still deliver or junk them)

Start with Monitoring

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

This gives you visibility into all mail streams claiming to be from your domain before you enforce anything.

Reading DMARC Reports

DMARC reports (RUA = aggregate, RUF = forensic) are XML files that tell you:

  • Which IPs are sending mail as your domain
  • Whether SPF and DKIM are passing
  • How many messages are failing

InboxEagle’s separate paid DMARC Processing product ingests and processes these reports at volume so you don’t have to read raw XML. The base plan checks your DMARC policy record every 24 hours and alerts on change.

DMARCbis: The 2026 Spec Update

In May 2026, the IETF published a revised DMARC specification, RFC 9989, known as DMARCbis, obsoleting the 2015-era RFC 7489. Existing records stay valid and keep using v=DMARC1, so there’s no migration to do, but three changes affect what you publish from here on:

  • pct, rf, and ri are removed. Receivers applied the percentage tag inconsistently, and too many senders parked at a partial pct value instead of treating it as a ramp to full enforcement. If your record still has pct=, it isn’t broken, it just references a tag the current standard no longer defines (the new t tag replaces pct).
  • np is new. It sets policy for subdomains that don’t exist, closing a spoofing gap that sp alone left open. Add np=reject the next time you touch your record.
  • The Public Suffix List is out. Receivers now find the organizational domain with a DNS tree walk instead of relying on the externally maintained PSL.

Enforcement Timeline: Where This Is Mandatory

Authentication started as a best practice. It’s now a requirement enforced at the SMTP level across major providers:

Provider Enforcement Began What Happens to Non-Compliant Mail
Gmail February 2024 (filtering) → November 2025 (SMTP rejection) Rejected with permanent error codes, never reaches Gmail servers
Yahoo Mail February 2024 Rejected or filtered
Microsoft Outlook / Hotmail / Live May 5, 2025 Rejected with error 550 5.7.515
La Poste September 2025 Rejected

If you’re sending bulk email (5,000+ per day) to any of these providers without DMARC, your mail is being rejected. Not filtered, rejected. The era of “it’s recommended but optional” ended in 2024.

What Comes After DMARC: BIMI

Once you have DMARC at p=quarantine or p=reject, you can implement BIMI to display your brand logo in Gmail, Yahoo, and Apple Mail inboxes, a visibility feature senders report correlates with up to 39% higher open rates. BIMI requires an SVG logo file and a certificate asserting logo ownership. Google’s 2025 Common Mark Certificate (CMC) removed the trademark registration requirement, making it accessible for most brands with at least one year of logo use. For the full implementation sequence and certificate options, see BIMI in 2026: Google’s CMC Makes Brand Logos Affordable.

Looking further ahead, the DKIM half of this trinity is itself being overhauled: the IETF is drafting DKIM2 to close DKIM’s replay-attack, broken-forwarding, and bounce-routing gaps with a signed chain of custody. It’s not a standard yet and requires no new records today. See What Is DKIM2? for what’s coming and how to prepare.

Before You Configure: Choose the Right Sending Domain

One decision that affects all three records is whether you are configuring authentication on your root domain or a sending subdomain. Configuring on a subdomain like mail.yourbrand.com keeps your email reputation isolated from your website domain and gives you a cleaner DNS namespace for your DKIM and Return-Path records. How to set up a subdomain strategy for email sending covers how to structure this before you start adding records.

How to verify SPF and DKIM

To verify SPF and DKIM on a live message, open it in Gmail, choose Show original, and look for spf=pass and dkim=pass with the domain you expect. To verify them before sending, run the domain through the free SPF record checker and DKIM record checker. Then confirm DMARC with the DMARC record checker, since a pass on both SPF and DKIM can still fail DMARC if neither aligns with your From domain.

The Correct Implementation Order

Follow the steps above in sequence: SPF first, then DKIM, then DMARC. This order protects you from accidentally blocking legitimate email during rollout.

The Bottom Line

Authentication is not optional in 2026: it’s enforced at the SMTP level by Gmail, Yahoo, Microsoft Outlook, and La Poste. Without all three, your mail is being rejected before anyone has a chance to read it.

  • SPF first, then DKIM, then DMARC. Never skip steps or implement in a different order
  • Start DMARC at p=none. Monitor for 2-4 weeks before moving to p=quarantine
  • 100% authentication pass rate is the target. Anything below that means some legitimate mail is failing
  • DMARC reports are your intelligence feed. Set up rua= reporting and read it; it shows unauthorized senders using your domain
  • p=reject unlocks BIMI. Brand logo display in Gmail and Yahoo requires DMARC enforcement

Need to build your records? Try the free DMARC Record Generator or SPF Builder, no account required. Want to see how different DMARC checker tools stack up before picking one? We compared 7 of them. Once your records are live, DMARC Monitoring from InboxEagle checks your DMARC policy record every 24 hours and alerts you when it changes.

Set this up in InboxEagle

For a complete step-by-step walkthrough in InboxEagle, including how to verify each record and advance your DMARC policy, see Authenticate your sending domain. To troubleshoot failures, see Fix DMARC failures.

Frequently Asked Questions

What is the difference between SPF, DKIM, and DMARC?
SPF (Sender Policy Framework) lists which IP addresses are allowed to send email for your domain. DKIM (DomainKeys Identified Mail) adds a cryptographic signature to prove email content wasn't tampered with. DMARC ties them together: it tells receiving servers what to do when SPF or DKIM fails, and sends you reports on who's sending as your domain. You need all three for full email authentication.
What is domain authentication?
Domain authentication is the set of DNS-based checks that prove a message really comes from the domain it claims. SPF lists the servers allowed to send for the domain, DKIM signs the message with a key published in DNS, and DMARC tells receivers what to do when neither aligns with the visible From domain. Gmail, Yahoo, Microsoft Outlook and La Poste check all three for bulk senders.
What is DMARC and DKIM?
DKIM adds a cryptographic signature to each message, which receivers verify with a public key published in your DNS. DMARC is the policy layer on top: it tells receivers what to do when SPF or DKIM fails to align with your From domain, and it sends you reports. DMARC needs at least one of SPF or DKIM to pass and align, which is why DKIM matters even when SPF passes.
SPF vs DKIM vs DMARC: which one does what?
SPF checks that the sending server is authorized for the domain. DKIM checks that the message was signed with the domain's key and was not altered. DMARC checks that SPF or DKIM aligns with the visible From domain and sets the policy (none, quarantine or reject) for failures. You need all three, set up in that order, for full email authentication.
Do I need all three: SPF, DKIM, and DMARC?
Yes. SPF alone is weak because it doesn't authenticate the visible From address. DKIM alone doesn't tell ISPs what to do with failures. DMARC ties them together and requires at least SPF or DKIM to align with your From domain. Gmail, Yahoo, Microsoft Outlook, and La Poste all enforce DMARC for bulk senders as of 2025.
What DMARC policy should I start with?
Start with p=none, which is monitoring-only mode. It doesn't affect email delivery but generates reports showing who is sending as your domain. After 2–4 weeks of reviewing reports to confirm all legitimate mail passes, move to p=quarantine, then eventually p=reject for maximum protection.
What is SPF flattening and why does it matter?
SPF is limited to 10 DNS lookups per record. Many senders exceed this limit by including multiple sending services (your ESP, CRM, ad platforms, etc.). When the limit is exceeded, SPF fails. SPF flattening resolves the included domains to their IP addresses and writes them directly into the record, reducing lookup count.
How do I know if DMARC is working?
Add an rua= tag to your DMARC record pointing to an email address you control (e.g., rua=mailto:dmarc@yourdomain.com). ISPs will send daily aggregate reports showing SPF/DKIM pass rates, sending IPs, and policy enforcement. Report-processing tools parse these automatically so you don't have to read raw XML. InboxEagle offers this as a separate paid product (DMARC Processing).
What is DMARCbis and do I need to update my record?
DMARCbis is the revised DMARC specification, published by the IETF as RFC 9989 in May 2026. Existing records stay valid and don't need to change. Going forward, the pct, rf, and ri tags are removed, a new np tag sets policy for subdomains that don't exist, and receivers now find your organizational domain with a DNS tree walk instead of the Public Suffix List. Add np=reject the next time you touch your record.
What is BIMI and do I need it?
BIMI (Brand Indicators for Message Identification) displays your logo in Gmail, Yahoo, and Apple Mail next to your emails. It requires DMARC at p=quarantine or p=reject. Google launched a Common Mark Certificate (CMC) option in 2025 that no longer requires trademark registration, just one year of logo use. VMCs cost $1,000–$1,500/year; CMCs are more accessible for smaller senders.
Palaniappan P
Palaniappan P·Software Architect & AI Engineer

Palaniappan is a Software Architect and AI Engineer at InboxEagle with deep expertise in building email infrastructure and intelligent monitoring systems. He writes about the technical side of email — authentication protocols, ISP filtering logic, AI-driven deliverability analysis, and the engineering decisions behind reliable inbox placement at scale.

LinkedIn
Share this article:Share on XShare on LinkedIn
Explore with AI

Open this content in your AI assistant for deeper analysis, or copy it as Markdown to paste anywhere.

ChatGPTClaudePerplexity

Related Articles

One deliverability insight, every Friday.

Trusted by 2,000+ email senders. Free, always.

Free Download

Email Authentication Setup Checklist (SPF + DKIM + DMARC)

A step-by-step checklist to get all three authentication standards configured correctly — in the right order.

  • SPF record configuration & DNS publishing
  • DKIM key generation & selector setup
  • DMARC policy progression (none → quarantine → reject)
  • Verification commands to confirm each record

No spam. Unsubscribe any time.

Free Checklist

The exact checklist used by 2,000+ email senders to diagnose and fix inbox placement issues — free.

  • Authentication setup (SPF, DKIM, DMARC)
  • Sender reputation signals to monitor
  • List hygiene benchmarks
  • Content & engagement red flags

No spam. Unsubscribe any time.