// Authentication (SPF/DKIM/DMARC/BIMI)

What Is Email Authentication?

// definition

Email authentication is a set of DNS-based protocols — chiefly SPF, DKIM, and DMARC — that let mailbox providers verify a message genuinely came from the domain it claims and was not altered in transit. It is the foundation of deliverability and the primary defense against spoofing and phishing.

Without authentication, anyone can forge your domain in the "From" address. SPF, DKIM, and DMARC work together to prove legitimacy: SPF authorizes which servers may send for your domain, DKIM cryptographically signs the message, and DMARC ties them together and tells receivers what to do when checks fail.

Since 2024, Gmail and Yahoo require bulk senders to have valid SPF, DKIM, and DMARC. Missing or misconfigured authentication is now one of the most common reasons legitimate mail lands in spam or is rejected outright.

Authentication is configured in your DNS as TXT (and CNAME) records. Getting the syntax exactly right matters — a single typo in an SPF record or a missing DKIM selector silently breaks authentication.

How email authentication works

Email authentication answers one question for the receiving server: "Did this message really come from the domain it claims, and was it tampered with?" Three protocols answer it in layers. SPF (Sender Policy Framework) publishes, in DNS, the list of servers allowed to send for your domain; the receiver checks the connecting IP against that list. DKIM (DomainKeys Identified Mail) attaches a cryptographic signature to each message; the receiver verifies it against a public key in your DNS, proving the content was not altered. DMARC (Domain-based Message Authentication, Reporting & Conformance) sits on top, requiring that SPF or DKIM "align" with the visible From domain and telling the receiver what to do — nothing, quarantine, or reject — when authentication fails.

The key concept that ties them together is alignment. SPF checks the hidden Return-Path (envelope sender) and DKIM checks the signing domain (d= tag), but neither by itself checks the From: address your recipient actually sees. A spammer can pass SPF for their own domain while forging your name in the From field. DMARC closes that gap by demanding that the SPF or DKIM domain match the From domain. Only then does a pass count.

BIMI (Brand Indicators for Message Identification) is an optional fourth layer. It rewards senders who reach DMARC enforcement by displaying their verified logo next to messages in supporting inboxes. It adds no filtering of its own — it is a visible payoff for getting SPF, DKIM, and DMARC right first.

Why authentication is now mandatory

In February 2024, Gmail and Yahoo began enforcing sender requirements for bulk senders (roughly 5,000+ messages per day to their users). Those requirements make SPF, DKIM, and a published DMARC policy non-negotiable, alongside one-click unsubscribe and a spam-complaint rate kept under 0.3%. Microsoft announced comparable enforcement for high-volume senders into Outlook.com in 2025.

The practical effect is that missing or broken authentication is now one of the most common reasons legitimate mail is spam-foldered or rejected outright. Even low-volume cold-outreach senders are affected, because the same reputation systems apply — a domain with no DMARC record simply looks less trustworthy than one with a published policy.

Common mistakes

The most frequent errors are structural. Publishing two separate SPF (v=spf1) records for one domain invalidates both — you may only have one, merged into a single record. Exceeding the 10 DNS-lookup limit in SPF causes a permerror that fails the check even for legitimate mail. Leaving DMARC at p=none forever means you are collecting reports but never actually blocking spoofers. And enabling DMARC at p=reject before confirming all your legitimate mail streams pass will bounce your own newsletters and transactional email.

Order of operations matters: set up SPF and DKIM first, verify both pass and align in DMARC aggregate reports, then move DMARC from p=none to quarantine and finally to reject. Only after enforcement is stable should you consider BIMI.

SPF vs DKIM vs DMARC vs BIMI at a glance

ProtocolWhat it doesDNS record typeSurvives forwarding?Required for bulk senders?
SPFAuthorizes which servers may send for your domainTXT (v=spf1)No — breaks on forwardingYes
DKIMCryptographically signs each messageTXT (selector._domainkey)Usually yesYes
DMARCSets policy + reporting when SPF/DKIM fail alignmentTXT (_dmarc)N/A (policy layer)Yes (p=none minimum)
BIMIDisplays your verified brand logo in the inboxTXT (default._bimi)N/A (display only)No — optional reward

Frequently asked questions

What is email authentication?

Email authentication is a set of DNS-based protocols — SPF, DKIM, and DMARC — that let receiving mail servers verify a message genuinely came from the domain it claims and was not altered in transit. It is the primary defense against spoofing and phishing and a prerequisite for reliable inbox placement.

Do I need SPF, DKIM, and DMARC or just one?

You need all three. SPF authorizes your sending servers, DKIM signs your messages, and DMARC ties them to your visible From address and tells receivers how to handle failures. Since 2024, Gmail and Yahoo require all three for bulk senders, and each protocol covers a gap the others cannot.

Is email authentication required by Gmail and Yahoo?

Yes. As of February 2024, Gmail and Yahoo require bulk senders (about 5,000+ messages/day) to have valid SPF, DKIM, and a published DMARC policy, plus one-click unsubscribe and a spam rate below 0.3%. Microsoft introduced similar rules for Outlook.com in 2025.

What is alignment in email authentication?

Alignment means the domain validated by SPF or DKIM matches the visible From address your recipient sees. DMARC requires alignment so that passing SPF or DKIM for an unrelated domain cannot be used to spoof yours. Without alignment, authentication does not stop From-address forgery.

How long does email authentication take to set up?

Publishing the DNS records takes minutes, but changes can take up to 24–48 hours to propagate. Reaching DMARC enforcement safely takes longer — typically a few weeks at p=none to review aggregate reports and confirm all legitimate mail passes before tightening to quarantine and reject.

// how mailpilot helps

MailPilot includes a DNS health checker plus free SPF, DKIM, and DMARC record generators so you can validate and fix authentication before it costs you the inbox.

Check your authentication records

Start for free - no credit card required.

Get started freeBook a demo