SPF, DKIM and DMARC for cold email: the 2026 rules, in plain English
What Google, Yahoo and Microsoft require from senders, what SPF, DKIM and DMARC each do, the exact DNS records to publish, and the mistakes that break alignment.
OurSDR team · · 4 min read
Email authentication used to be a "nice to have" that deliverability people nagged about. Since Google and Yahoo started enforcing sender requirements in 2024, and Microsoft followed for Outlook.com in 2025, it is the entry ticket. Unauthenticated cold email is now likely to be junked or rejected outright. Here is what each record does, what the mailbox providers require, and how to set it up for a cold outreach domain.
What the providers require
Google's Email sender guidelines split senders into two groups. All senders to Gmail accounts must authenticate with SPF or DKIM, have valid forward and reverse DNS for their sending servers, send over TLS, follow standard message formatting, and keep the spam rate reported in Postmaster Tools below 0.3%. Bulk senders — roughly 5,000 or more messages a day to personal Gmail accounts, counted across your primary domain — must additionally:
- authenticate with both SPF and DKIM;
- publish a DMARC record (a policy of
p=noneis the minimum); - align the visible From domain with the domain used by SPF or DKIM;
- support one-click unsubscribe (RFC 8058) for marketing messages and process unsubscribes within two days.
Yahoo published matching requirements at the same time. Microsoft announced that high-volume senders (over 5,000 messages a day) to Outlook.com, Hotmail and Live addresses must pass SPF, DKIM and DMARC (at least p=none, aligned with SPF or DKIM), with non-compliant mail filtered or rejected (Microsoft's announcement). Requirements evolve, so check the linked pages before you rely on any threshold.
Most cold outreach programmes send far fewer than 5,000 a day. Meet the bulk-sender rules anyway: it costs nothing extra, and filters treat authenticated, aligned mail better.
SPF: who may send for this domain
SPF is a TXT record listing the servers allowed to send mail for your domain. The receiving server checks the connecting server against that list, using the domain in the envelope sender (Return-Path), not the From header you see.
; Google Workspace
tryacme.com. TXT "v=spf1 include:_spf.google.com ~all"
; Microsoft 365
tryacme.com. TXT "v=spf1 include:spf.protection.outlook.com ~all"- Publish one SPF record per domain. Two
v=spf1records is a permanent error, and SPF fails. - SPF allows at most 10 DNS lookups. Each
include:counts, and so do the includes inside it. Remove services you no longer use. - Use
~all(soft fail) or-all(fail). Never+all.
DKIM: a signature on every message
DKIM signs each message with a private key; the public key lives in DNS under a selector. The receiver verifies the signature and learns which domain (d=) vouched for the message. Unlike SPF, DKIM survives forwarding.
- In Google Workspace, generate the key in the Admin console (Apps → Google Workspace → Gmail → Authenticate email), publish the TXT record at
google._domainkey, then click Start authentication. Publishing the record alone does nothing. - In Microsoft 365, enable DKIM for the domain in the Defender portal and publish the two CNAME records it gives you (
selector1._domainkeyandselector2._domainkey). - Use 2048-bit keys where your DNS host supports them.
DMARC: the policy and the alignment check
DMARC ties it together. It tells receivers what to do when a message fails, and it adds the check that matters most: alignment. A message passes DMARC only if SPF or DKIM passes *for a domain that matches the From domain*. That is what stops someone passing SPF on their own domain while putting yours in the From line.
_dmarc.tryacme.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc@acme.com; adkim=r; aspf=r"- Start with
p=noneand aruaaddress so you receive aggregate reports. Read them for a couple of weeks. - Once every legitimate source passes, move to
p=quarantine, thenp=rejectif you are confident. - Relaxed alignment (
r) letsmail.tryacme.comalign withtryacme.com. Strict (s) requires an exact match. - If you send reports to a mailbox on another domain, that domain may need an authorisation record for external reports.
The mistakes that break cold email authentication
- Sending from the main domain. Use secondary domains for cold outreach, so a reputation problem never reaches your invoices and customer replies.
- A sending tool that uses its own Return-Path and doesn't sign with your DKIM. SPF and DKIM both pass — for the vendor's domain — and DMARC alignment fails. Make sure DKIM is signed with
d=your domain. - Forgetting new domains. Every secondary domain needs its own SPF, DKIM and DMARC.
- Too many SPF includes after years of adding tools, pushing you past 10 lookups.
- Missing reverse DNS when you run your own mail server. With Google Workspace or Microsoft 365 this is handled for you.
Beyond authentication
Authentication proves who you are; it doesn't make people want your mail. Keep complaint rates low (Google asks for below 0.3%, and recommends staying under 0.1%), include a working one-click unsubscribe and a postal address (CAN-SPAM requires a physical address in commercial email in the US), verify lists so bounces stay low, and ramp new mailboxes slowly.
How to check yours
Send a message to a Gmail address you control and open Show original: you want SPF: PASS, DKIM: PASS and DMARC: PASS, with the DKIM domain matching your From domain. OurSDR checks SPF, DKIM, DMARC and MX when you connect a mailbox and explains how to fix anything missing, adds one-click unsubscribe headers and a postal footer to every email, and pauses a mailbox automatically above 3% bounces. Explore the live demo below to see the checks.