·Updated ·8 min read

Cold Email Deliverability: SPF, DKIM and DMARC Explained (2026)

SPF, DKIM and DMARC for cold email: real records for example.com, the 10-lookup limit, key length, alignment, dig checks and what Gmail and Yahoo require.

Mailbox providers decide where a cold email lands partly on whether they can tie it to your domain. Three DNS records do that job: SPF, DKIM and DMARC. This guide uses the specifications themselves (RFC 7208 for SPF, RFC 6376 and RFC 8301 for DKIM, and RFC 9989 for DMARC) plus the published rules from Google, Yahoo and Microsoft, and shows real records you can check with dig today. Where a number appears, the sentence names where it comes from.

What do SPF, DKIM and DMARC each check?

SPF checks the sending server, DKIM checks a signature on the message, and DMARC checks that at least one of them matches the domain in the From header the reader sees. Each lives in a TXT record at a different DNS name.

StandardCurrent specDNS name for example.comWhat it checks
SPFRFC 7208example.comWhether the connecting IP is allowed to send for the MAIL FROM (envelope) or HELO domain
DKIMRFC 6376, updated by RFC 8301<selector>._domainkey.example.comWhether the signature in the DKIM-Signature header verifies against the published public key for the d= domain
DMARCRFC 9989 (May 2026)_dmarc.example.comWhether SPF or DKIM passed for a domain aligned with the From domain, and what the owner asks receivers to do if not

A note on DMARC versions: the RFC Editor's entry for RFC 7489 now reads "This RFC is now obsolete", pointing to RFC 9989 (the protocol), RFC 9990 (aggregate reports) and RFC 9991 (failure reports). Records still start with v=DMARC1. Older guides that cite RFC 7489 or use the pct tag are out of date on those points.

What does an SPF record for example.com look like?

An SPF record is one TXT record that starts with v=spf1, lists who may send, and ends with an all term. The real example.com publishes the strictest possible version, "v=spf1 -all", which says no server may send for it. A domain that sends through Google Workspace and one email platform would publish something like this instead:

example.com. TXT "v=spf1 include:_spf.google.com include:sendgrid.net ~all"

The rules that trip people up all come from RFC 7208:

  • One record only. A domain "MUST NOT have multiple records", and two SPF records produce permerror. Add a new tool as another include, not a second record.
  • TXT only. The old SPF record type "has been discontinued".
  • The 10-lookup limit. The terms include, a, mx, ptr, exists and redirect each cost a DNS query, nested includes count, and implementations "MUST limit the total number of those terms to 10". Going over returns permerror. all, ip4, ip6 and exp are free.
  • Void lookups. Implementations "SHOULD limit" lookups that return no answer to two, so remove includes for tools you no longer use.
  • Qualifiers. -all gives fail, ~all gives softfail and ?all gives neutral for any server not listed.
Diagram counting DNS lookups for the SPF record v=spf1 include:_spf.google.com include:sendgrid.net ~all: one lookup for _spf.google.com, one for sendgrid.net and one for its nested include ab.sendgrid.net, three of the ten allowed. RFC 7208 counts include, a, mx, ptr, exists and redirect; all, ip4, ip6 and exp are free; over 10 gives permerror.
Three lookups of ten for a two-provider record. Provider records read with dig on 25 November 2026.

How do DKIM selectors and key length work?

A DKIM selector is a label that lets one domain publish several keys at once, and the key length should be 2048 bits. RFC 6376 puts every key under _domainkey: a message signed with d=example.com and s=s1 sends the receiver to s1._domainkey.example.com for the public key. Your sending tool picks the selector name and gives you the record to paste, which looks like this (key shortened):

s1._domainkey.example.com. TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A..."

  • Key length. RFC 6376 originally required at least 1024 bits for long-lived keys. RFC 8301 tightened this: signers "MUST use RSA keys of at least 1024 bits for all keys" and "SHOULD use RSA keys of at least 2048 bits", and verifiers must not accept signatures from keys under 1024 bits.
  • Algorithm. RFC 8301 says rsa-sha1 "MUST NOT be used for signing or verifying". Use rsa-sha256.
  • Long records. A 2048-bit key is longer than a single 255-character TXT string, so DNS stores it as several quoted strings that verifiers join. If your DNS host truncates it, the signature fails.
  • One selector per tool. Google Workspace and your sending platform each sign with their own selector, so they never overwrite each other.
  • Retiring a key. RFC 6376 treats an empty p= as a revoked key. On 25 November 2026, dig TXT 20230601._domainkey.gmail.com returned exactly that: "v=DKIM1; k=rsa; p=".

How does DMARC alignment decide pass or fail?

DMARC passes when SPF or DKIM passes for a domain that aligns with the From domain. RFC 9989 defines two modes. In relaxed mode, the default, the domains only need the same organizational domain, so news.example.com aligns with example.com. In strict mode they must be identical. The aspf and adkim tags pick the mode for SPF and DKIM. This is why a sending tool that passes SPF with its own bounce domain can still fail DMARC for you: the pass is for its domain, not yours. Set up a custom return-path and DKIM on your own domain in the tool.

The policy tag p takes three values. RFC 9989's wording: with none "the Domain Owner offers no expression of preference", with quarantine the owner "considers such mail to be suspicious", and with reject the owner considers failures "a clear indication that the use of the domain name is not valid". The real example.com, which sends no mail, publishes "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s". A sending domain usually moves through these steps:

  1. 1Monitor. Publish v=DMARC1; p=none; rua=mailto:dmarc-feedback@example.com, the first example record in RFC 9989's appendix. Without rua, no aggregate reports are sent.
  2. 2Read the reports until every service that sends as your domain passes with alignment.
  3. 3Test enforcement. p=quarantine; t=y. RFC 9989 removed the old pct tag and added t=y as the testing equivalent of pct=0.
  4. 4Enforce. Drop t=y, then move to p=reject. RFC 9989 adds that a domain with p=reject "MUST NOT rely solely on SPF" and must apply valid DKIM signatures.

What do Gmail, Yahoo and Outlook.com require from senders?

All three require authentication, and all three set stricter rules for senders above 5,000 messages a day. The table summarises Google's Email sender guidelines, Yahoo Sender Hub and Microsoft's high-volume sender post as read on 25 November 2026.

RuleGmail (personal accounts)YahooOutlook.com
All senders: authenticationSPF or DKIMSPF or DKIM at a minimumNot stated for low volume
All senders: spam rateBelow 0.3% in Postmaster ToolsBelow 0.3%No figure published
All senders: otherForward and reverse DNS, TLS, RFC 5322 formatForward and reverse DNS, RFC 5321 and 5322Not stated
Bulk thresholdMore than 5,000 a day to personal Gmail accountsBulk senders (no figure on the page)Over 5,000 emails a day
Bulk: authenticationSPF and DKIM, plus DMARC (p=none allowed)SPF and DKIM, plus DMARC of at least p=none that passesSPF pass, DKIM pass, DMARC at least p=none
Bulk: alignmentFrom domain aligned with SPF or DKIMAligned with SPF or DKIM; relaxed is acceptableAligned with SPF or DKIM, preferably both
Bulk: unsubscribeOne-click unsubscribe for marketing and subscribed messages, plus a visible linkOne-click list-unsubscribe header, honoured within 2 days, plus a visible linkRecommends a clearly visible opt-out

Two more points from Google matter for cold email. Its sender guidelines FAQ says bulk senders above a 0.3% user-reported spam rate are ineligible for mitigation, that bulk status is permanent once reached, and that the rules apply only to mail sent to personal Gmail accounts, not Workspace accounts. The main guidelines also advise keeping the spam rate below 0.10% and say "Don't send messages to people who didn't sign up to get messages from you." Cold email does exactly that, so a short, relevant, low-volume message to a business address is the only version with a chance. The legal side (CAN-SPAM, PECR, CASL) is covered in how to build a cold email lead list.

How do you check each record with dig?

Run dig +short TXT against each DNS name and compare the output with what you published. The rows below show real output from 25 November 2026; your own domain should show your records in the same shape.

CheckCommandOutput seen on 25 November 2026Bad sign
SPFdig +short TXT example.com"v=spf1 -all" (among other TXT records)Two lines starting v=spf1, or none
SPF includesdig +short TXT sendgrid.net"v=spf1 ip4:... include:ab.sendgrid.net ~all"Chains that push the count past 10
DKIMdig +short TXT s1._domainkey.example.comYour key: "v=DKIM1; k=rsa; p=MIIB...", often split into several quoted stringsEmpty answer (wrong selector) or empty p=
DMARCdig +short TXT _dmarc.example.com"v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s"No answer, or v=DMARC1 not first
MXdig +short MX example.com0 ., a null MX meaning the domain accepts no mail (RFC 7505)A sending domain that cannot receive replies

DNS only proves the records exist. To confirm they pass, send a message to a Gmail address you control, open it, choose Show original, and read the SPF, DKIM and DMARC results Gmail reports for that message.

Passing authentication is the entry ticket, not the result. Google's guidelines also cover volume, bounces and spam complaints. A new domain needs a careful start: see how to warm up an email domain.

What should you fix before the first cold email goes out?

Fix authentication first, then the list, then the message. In order:

  • One SPF record, 10 lookups or fewer, ending in ~all or -all.
  • DKIM with a 2048-bit key signed as your own domain, not the tool's.
  • DMARC at p=none with rua, moving to quarantine and reject as reports come back clean.
  • A From address that receives replies. Microsoft asks for a From or Reply-To address that "can receive replies".
  • A checked list. Remove addresses that fail syntax or MX checks before sending; Google says to reduce volume when messages start bouncing. If your leads come from Google Maps, read Google Maps leads for cold email for where those addresses come from.
  • A short, specific message with your name, postal address and a way to opt out. See cold email templates for local businesses.

CazaLead fits the list and message steps, not the sending. It collects local businesses from Google Maps with the email each one publishes on its website, audits the site, and drafts an outreach email per lead from the audit. It never sends email, so every record above belongs on the domain and mailbox you send from. Compare that with a sending platform in CazaLead vs Instantly.

Ready to find your first leads?

Start with 50 free leads every month. No credit card needed.

Start Free Today

Frequently Asked Questions

No. The RFC Editor lists RFC 7489 as obsoleted by RFC 9989, RFC 9990 and RFC 9991, all published in May 2026. RFC 9989 defines the protocol and policy record, RFC 9990 covers aggregate reports and RFC 9991 covers failure reports. Existing v=DMARC1 records keep working.

No. RFC 7208 says a domain must not publish more than one SPF record, and a check that finds two returns permerror, which receivers treat as a broken record. Merge the tools into one record with an include for each, then count the lookups so the total stays at 10 or fewer.

Use 2048 bits if your DNS host accepts the longer record. RFC 8301 says signers must use RSA keys of at least 1024 bits and should use at least 2048 bits, and that verifiers must not treat signatures from keys under 1024 bits as valid. It also forbids rsa-sha1.

The extra rules apply to senders of more than 5,000 messages a day to personal Gmail accounts. Below that, Google still requires SPF or DKIM, valid forward and reverse DNS, TLS and a spam rate below 0.3%. Google adds that bulk sender status is permanent once a domain reaches it.

Not on its own. RFC 9989 describes p=none as the domain owner offering no expression of preference, so receivers handle failing mail as they normally would. It is the right first step because the rua reports show who sends as your domain, but move to quarantine or reject once legitimate mail passes.

Sources