Email/

SPF vs DKIM vs DMARC: What's the Difference?

SPF, DKIM, and DMARC are three email authentication standards that solve different parts of the same problem: proving an email really comes from the domain it claims. SPF authorizes which servers can send for you, DKIM cryptographically signs your messages, and DMARC ties both back to the domain your recipients see while reporting on what it finds. You want all three.

What does each one actually check?

Short version first, then the detail.

SPFDKIMDMARC
Stands forSender Policy FrameworkDomainKeys Identified MailDomain-based Message Authentication, Reporting & Conformance
ChecksIs this server allowed to send for the domain?Was this message signed and unaltered?Does authentication align with the visible From domain?
MechanismDNS list of authorized serversCryptographic signature plus a public key in DNSPolicy, alignment, and reporting published in DNS
ProtectsThe Return-Path domainMessage integrity and the signing domainThe visible From domain (what users read)
On its ownBreaks on forwardingSurvives forwardingNeeds SPF or DKIM underneath it

How does SPF work?

SPF (Sender Policy Framework) is a DNS record listing the servers allowed to send mail for your domain. When a message arrives, the receiver checks the sending server's IP against that list. Pass means the server was authorized; fail means it wasn't. SPF's weak spot is forwarding: when mail is forwarded, the forwarding server isn't on your list, so SPF breaks even though the mail is legitimate. The deeper dive is in what is an SPF record.

How does DKIM work?

DKIM (DomainKeys Identified Mail) adds a cryptographic signature to each message's headers. Your server signs outgoing mail with a private key, and receivers verify it against a public key you publish in DNS. If the signature checks out, the message wasn't altered in transit and genuinely came from a domain holding the key. DKIM survives forwarding better than SPF, because the signature travels with the message rather than depending on the sending IP.

How does DMARC tie them together?

Here's the gap SPF and DKIM leave open: both authenticate a domain, but not necessarily the one in the From address your recipient reads. SPF checks the Return-Path; DKIM checks the signing domain. A scammer can pass either for a domain they own while still displaying your brand in the From line.

DMARC fixes that with alignment. It requires the SPF or DKIM domain to match your visible From domain, and a message passes DMARC if either path passes and aligns. Then it adds reporting, so you see every source sending as you. The mechanics are in how DMARC works, and the policy you publish is covered in what is a DMARC policy.

Do you need all three?

Yes, and they're meant to stack. SPF and DKIM are the authentication; DMARC is the policy and visibility layer that makes them meaningful for the domain people actually see. Publishing DMARC without SPF and DKIM underneath gives receivers nothing to align against, so the order is SPF and DKIM first, then DMARC. That sequence is exactly what how to set up DMARC walks through.

A way to hold it in your head: SPF vouches for the server, DKIM vouches for the message, and DMARC vouches for the From address your reader actually sees (and writes you a report about it). Each one covers a blind spot the others have.

Where do you start?

If you're starting from zero, get SPF and DKIM published and verified, then add a DMARC record in monitor mode and watch the reports. If you send through Bird, the DKIM and return-path records you publish during domain setup give you SPF alignment without an apex SPF record, so DMARC is the main thing left. The SPF, DKIM, and DMARC guide has the specifics, and whether you're obligated to enforce is covered in do I need DMARC.

Starten Sie mit einem Kanal.
Fügen Sie die anderen hinzu, wenn Sie bereit sind.

Ein Test-API-Key steht Ihnen sofort zur Verfügung. Der Produktivzugang wird freigeschaltet, sobald Sie eine Zahlungsmethode hinzufügen und einen Absender verifizieren.

Sie nutzen Claude Code, Cursor oder Codex? Kopieren Sie einen Setup-Prompt und Ihr Agent installiert die Bird CLI und Skills für Sie. Wählen Sie Ihren:

Cursor