Skip to content

Deliverability

SPF, DKIM and DMARC in plain words: what each record proves, the 10-lookup SPF limit, which DMARC policy to start with, and the commands that check yours.

· 8 min read · deliverability

SPF, DKIM and DMARC are three DNS records that prove a cold email really comes from you. SPF lists the servers allowed to send for your domain, DKIM signs each message, and DMARC checks that one of them matches your From address and says what to do if not. Every sending domain needs all three before warmup.

This is the version for the person who pastes the records in, not the engineer who wrote the standard. It sits inside our cold email deliverability guide, and the order we set everything up in is the deliverability checklist.

What do SPF, DKIM and DMARC actually prove?

Each record answers one question that a receiving server asks about every message.

  • SPF: is this server allowed to send for the domain? The domain publishes a list of permitted senders. SPF checks the return-path address that servers exchange behind the scenes, not the From line a person reads.
  • DKIM: did the domain sign this message, and has it changed since? Your provider signs each message with a private key, and the receiver fetches the public key from your DNS to check the signature.
  • DMARC: do those results belong to the From address? DMARC passes when SPF or DKIM passes for a domain that aligns with the From address. It also tells receivers what to do with mail that fails, and asks them to send you reports.
The three checks a receiving server runs on every message
  1. 01SPF checkIs the sending server on the domain's published list?
  2. 02DKIM checkDoes the signature match the public key in DNS?
  3. 03DMARC alignmentDoes a passing domain match the From address?
  4. 04DMARC policyIf not: none, quarantine or reject, and a report to you

DMARC passes when at least one of SPF or DKIM passes for a domain aligned with the From address. The policy applies only when neither does.

Passing all three proves identity, not good behaviour. RFC 9989, the DMARC standard the IETF published in May 2026 to replace RFC 7489, says a pass carries no judgement about the message or its sender, and that receivers may still reject or quarantine mail that passes. Authentication gets you judged on your reputation; it does not give you one.

How does SPF work, and what breaks it?

An SPF record is one TXT record on the domain itself. For a domain that sends only through Google Workspace, the whole record is one line:

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

Each include names a service allowed to send for the domain; Microsoft 365 uses include:spf.protection.outlook.com. The last term covers everyone else. RFC 7208, the SPF standard, defines the two endings you will meet. -all produces a fail, an explicit statement that other servers are not authorised. ~all produces a softfail, a weaker statement that they probably are not, which receivers should not reject on by itself.

Either ending is acceptable, and both pass the free check on our home page. RFC 9989 adds one caution about -all: some receivers check SPF before anything else, so a hard fail can get a message rejected before DMARC has the chance to pass it on DKIM, and those rejections never appear in your reports. Forwarding is when it bites. Mail sent to an alias or through a forwarding rule arrives from a server your record does not list, so it usually fails SPF, while the DKIM signature generally survives the trip. With DKIM signing in place, ~all is the more forgiving choice and costs you very little.

Two rules catch people out.

  1. One SPF record per domain. RFC 7208 does not allow more than one on the same name. A receiver that finds two returns a permanent error, and SPF stops passing for every message. It happens when a new tool's setup guide says to add an SPF record and someone adds a second one instead of merging the new include into the first.
  2. Ten DNS lookups at most. Every include, a, mx, ptr and exists term, and any redirect, costs a lookup, and so do the includes nested inside them. RFC 7208 caps the total at 10, and past that the result is a permanent error. A cold email domain that sends only through its mailbox provider needs one include.

How does DKIM work?

DKIM signs each message with a private key your email provider keeps, and publishes the matching public key in your DNS. The receiver reads the signature, fetches the key and checks that the message has not changed since it was signed.

Selectors. A domain can hold several DKIM keys at once, one per sending service, and the selector names the key that signed a message. The key lives at a name built from it: for the selector google on example.com, that is google._domainkey.example.com. Google Workspace uses google as its default selector. Microsoft 365 uses two, selector1 and selector2, which you publish as CNAME records pointing at Microsoft. You can read the selector of any message in its DKIM-Signature header, after s=.

Key length. Google's email sender guidelines require a DKIM key of at least 1024 bits for mail to personal Gmail accounts, and recommend 2048 bits if your DNS host supports them. Choose 2048 when you generate the key, and fall back to 1024 only if your DNS host rejects the longer record.

Switch it on. Publishing the key is half the job. In Google Workspace, signing with your key starts only when you press Start authentication in the Admin console, after the record is live. Test it by sending to someone else's Gmail or Google Workspace address, because a message to yourself does not show whether DKIM is on, and check that the DKIM result names your domain.

Which DMARC policy should a cold email domain use?

A DMARC record is one TXT record at _dmarc on the domain:

_dmarc.example.com.  TXT  "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com"

v=DMARC1 must come first, p= sets the policy and rua= names the mailbox for aggregate reports. RFC 9989 defines three policies:

  • p=none: the owner expresses no preference, and receivers do not change how they handle the mail. You still get the reports.
  • p=quarantine: failing mail is suspicious, and receivers that honour the policy keep it out of the inbox.
  • p=reject: failing mail is a clear sign that the domain was misused, and receivers may refuse it outright.

Alignment joins the checks to the address a person sees. Relaxed alignment, the default, accepts any domain with the same organisational domain, so mail.example.com aligns with example.com. Strict alignment wants an exact match. The standard notes that nearly all domain owners find relaxed alignment enough, and Yahoo's sender best practices accept it too.

Reports arrive only if you ask for them. Without an rua address, receivers must not send aggregate reports at all. They come as machine-readable files, and the standard recommends reading them with software rather than by eye.

Where to start. Both RFC 9989 and Microsoft advise starting at p=none and tightening one step at a time. The standard gives the reason: in all but the most trivial setups, an owner can overlook a server or a third-party sender, and the reports reveal it. For domains whose users post to mailing lists it goes further, advising against p=reject altogether and saying any such domain that still wants it should run p=none for at least a month, then p=quarantine for as long again. That is the right advice for your main domain, which may send invoices from one service, newsletters from another and support replies from a third.

A sending domain bought for cold email is the trivial case that reasoning leaves out: one mailbox provider and nothing else to overlook. On those we start at p=quarantine with reports on, confirm that DKIM passes and aligns, and move to p=reject after a few weeks of clean reports. The standard's hard condition for reject applies: a domain that publishes it must not rely on SPF alone and must sign with DKIM. Why the two kinds of domain stay apart is the subject of never send cold email from your primary domain.

One change from older guides: if a guide tells you to ramp up with pct=, it predates RFC 9989, which removed the tag because receivers applied values other than 0 and 100 inconsistently. Its replacement for testing a policy is t=y.

What do Google, Yahoo and Microsoft require?

For bulk senders the minimum is the same everywhere: SPF and DKIM passing, a DMARC record at p=none or stricter, and the From domain aligned with SPF or DKIM. Google applies it to senders of more than 5,000 messages a day to personal Gmail accounts, and Yahoo asks bulk senders for the same records. Microsoft applies it to domains sending more than 5,000 a day to Outlook.com, Hotmail and Live addresses. Its announcement of 2 April 2025 said failing mail would go to Junk first; an update on 29 April 2025 replaced that with outright rejection from 5 May 2025, under the error 550; 5.7.515 Access denied, sending domain [SendingDomain] does not meet the required authentication level.

Strictly, a cold campaign falls outside these bulk rules. Google's rules cover mail to personal Gmail accounts and Microsoft's cover consumer Outlook.com addresses, while a B2B list is mostly business addresses, and a campaign of 360 emails a day is far below 5,000. Set up all three anyway. Google says authenticated messages are less likely to be rejected or marked as spam, and Microsoft says senders below its line benefit too. The full comparison, with every date, is in what Gmail, Yahoo and Outlook now require.

How do you check your SPF, DKIM and DMARC records?

From a terminal on a Mac or Linux machine, dig reads the public records. Replace example.com with your sending domain, and google with your selector if it differs:

dig +short TXT example.com
dig +short TXT google._domainkey.example.com
dig +short CNAME selector1._domainkey.example.com
dig +short TXT _dmarc.example.com
dig +short MX example.com

On Windows, nslookup does the same job:

nslookup -type=TXT example.com
nslookup -type=TXT _dmarc.example.com

A healthy sending domain shows exactly one line beginning v=spf1, a DKIM record beginning v=DKIM1 (or, on Microsoft 365, a CNAME pointing at Microsoft), a DMARC line beginning v=DMARC1 with both p= and rua=, and MX records so replies can arrive.

If you would rather not open a terminal, the free domain check on our home page reads the same records and scores them out of 100. It looks for DKIM only on common selectors (google, default, selector1, selector2 and k1), so a key published under another selector shows as missing even when it works.

Records are half the answer; the other half is what a receiver concluded about a real message. Send one to a Gmail address you can open, other than the sending mailbox, then choose More and Show original. The summary at the top shows SPF, DKIM and DMARC as PASS or FAIL, with the domain each one passed for.

Which mistakes break SPF, DKIM and DMARC?

  • Two SPF records. Merge them into one. The home-page check flags it.
  • Too many includes. Includes left behind by services you no longer use still count towards the 10 lookups, so remove them first.
  • p=reject on day one. On a main domain it asks receivers to refuse mail from every service nobody remembered, before a single report has told you they exist. On a sending domain it is safe only once DKIM signs and aligns.
  • DKIM published but never switched on. The key sits in DNS and nothing signs with it.
  • A DMARC record with no rua. The policy works, and you never see what it does.
  • Treating a pass as a verdict. Authentication proves who sent the message. What decides the rest is in the nine reasons cold emails go to spam.

Publishing, checking and handing over these records on four sending domains, before warmup starts, is part of our domain and mailbox setup. If you would rather not touch DNS at all, see what the $199 Launch includes.

Questions

What is the difference between SPF, DKIM and DMARC?

SPF lists the servers allowed to send for your domain. DKIM adds a signature to each message, which the receiver checks against a public key in your DNS. DMARC checks that the domain in the From address matches a domain that passed SPF or DKIM, tells the receiver what to do when none does, and asks for reports.

Which DMARC policy should a cold email domain use?

On a sending domain bought for cold email, where nothing else sends, start at p=quarantine with an rua address for reports, and move to p=reject after a few weeks of clean reports with DKIM passing. On your main domain, which sends from many services, start at p=none, as the DMARC standard advises, and tighten only when the reports show every service aligned.

Do I need DMARC if I send fewer than 5,000 emails a day?

Strictly, Google and Microsoft write their DMARC requirement for senders of more than 5,000 messages a day to personal accounts, and a cold campaign sends far fewer. Set it up anyway. It costs nothing, Google says authenticated mail is less likely to be rejected or marked as spam, and the reports show you which services send as your domain.

How do I check my SPF, DKIM and DMARC records?

Run dig +short TXT example.com for SPF and dig +short TXT _dmarc.example.com for DMARC, and for DKIM the same with your selector in front of ._domainkey, or use the free check on our home page. Then send a message to a Gmail address you can open and choose Show original, which shows whether each check passed on a real email.

Sources

Checked against these primary sources on the dates shown at the top of the article.

  1. RFC 7208: Sender Policy Framework (SPF), IETF
  2. RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance (DMARC), IETF
  3. Email sender guidelines, Google
  4. Outlook's new requirements for high-volume senders, Microsoft
  5. Sender best practices, Yahoo Sender Hub


Launch my campaign10 spots left this month