Blog

Part of Deliverability

By the Outsquid team · Updated · 8 min read · How we write

SPF, DKIM and DMARC for cold email: what you actually need

The three DNS records every sending domain needs, what each one proves, and the settings that are safe for cold outreach.

If you send cold email from a domain without SPF, DKIM and DMARC, you are asking Gmail and Outlook to trust a stranger with no ID. Since February 2024 Google and Yahoo have required authentication from anyone sending to their users, with stricter rules for bulk senders, and Microsoft began enforcing similar rules for high-volume senders to Outlook.com in 2025. Unauthenticated mail is the first thing their filters push aside.

The good news: it's three DNS records, set up once, and you can check them in a minute with the free DNS checker. This post explains what each record proves, the settings that are safe for cold outreach, and the mistakes that quietly break them.

What each record proves

RecordQuestion it answersWhere it lives
SPFIs this server allowed to send for the domain?TXT on the domain
DKIMWas this email signed by the domain, and left unchanged?TXT at selector._domainkey
DMARCWhat should a receiver do when SPF or DKIM fails?TXT at _dmarc

They work together. SPF and DKIM are the evidence; DMARC is the policy that tells receivers to act on it. DMARC also adds one condition that matters a lot for cold email: at least one of SPF or DKIM must align with the domain in your From address. A message from [email protected] that passes SPF for some other domain doesn't count.

What the mailbox providers require

Google's sender guidelines split senders in two:

  • Everyone sending to Gmail needs SPF or DKIM, valid forward and reverse DNS for the sending server, a TLS connection, and a spam complaint rate kept low.
  • Bulk senders — around 5,000 messages a day or more to Gmail addresses — need SPF and DKIM, a DMARC record (p=none is enough), alignment with the From domain, and one-click unsubscribe for marketing mail.

Most cold emailers never reach 5,000 a day, but treat the bulk rules as the baseline anyway. They cost nothing, and filters judge you on the same signals whatever your volume. If you use Google Workspace or Microsoft 365, the server-side items — reverse DNS and TLS — are already handled for you; the DNS records are yours to publish.

SPF: one record, every sender

SPF is a list of the services allowed to send email as your domain: your mailbox provider, your newsletter tool, your helpdesk, your invoicing system. They all go in a single TXT record:

v=spf1 include:_spf.google.com ~all

For Microsoft 365 the include is spf.protection.outlook.com; for Zoho it depends on your data centre. The SPF generator builds the record from the services you tick.

Three mistakes account for most broken SPF records:

  • Two SPF records. Receivers treat that as an error and SPF fails for every message. It usually happens when a new tool's setup guide says "add this TXT record" and nobody merges it with the old one. Merge them.
  • Ending in +all. That allows anyone to send as you and defeats the point of the record. Use ~all (soft fail) or -all (hard fail).
  • More than 10 DNS lookups. Each include:, a, mx and redirect costs a lookup, and includes can contain includes of their own — Google's alone uses several. Past 10, SPF returns an error. Remove services you no longer use, or see how to get back under 10.

~all or -all? Both are fine once DMARC is in place, because DMARC decides what happens to failing mail. Start with ~all; move to -all when you're sure every legitimate sender is listed.

DKIM: turn it on at your provider

DKIM adds a cryptographic signature to every message. Your provider holds the private key; you publish the public key in DNS so receivers can check the signature. Unlike SPF, a DKIM signature survives forwarding, which makes it the more reliable of the two for DMARC alignment.

Setting it up is the same three steps everywhere: generate the key in your provider's admin console, publish it as a TXT (or CNAME) record at <selector>._domainkey.yourdomain.com, then switch signing on. In Google Workspace it's under Apps → Gmail → Authenticate email; in Microsoft 365 it's in the Defender portal under Email authentication settings. Step by step: Google Workspace, Microsoft 365 and Zoho Mail.

Two details trip people up:

  • The selector. It's the name before ._domainkey, and only your provider knows it. A checker that tries common selectors may report DKIM as missing when it works under a different name — see DKIM record not found.
  • Key length. Use a 2048-bit key if your DNS host accepts long TXT records. Some split them into several quoted strings; that's normal.

Publishing the key isn't the last step. In Google Workspace in particular, signing stays off until you click Start authentication — a common reason a correct record still produces unsigned mail.

DMARC: start gentle, then tighten

A first DMARC record can simply watch:

v=DMARC1; p=none; rua=mailto:[email protected]

p=none changes nothing about delivery, but receivers send daily aggregate reports to the rua address listing every server that sent mail as your domain and whether it passed. Read them for a few weeks. They reveal the tool someone in marketing signed up for and never added to SPF, and anyone spoofing your domain.

Once the reports show only your own services, and they pass, move to p=quarantine and eventually p=reject. Receivers trust domains with an enforced policy more, and it stops others from sending as you. The DMARC generator writes the record for you, including a gradual rollout with pct=.

Without a report address you're flying blind; that's why the checker flags a DMARC record with no reports.

A separate domain for outreach?

Many teams send cold email from a second domain — getacme.com next to acme.com. If that domain's reputation suffers, the main domain, which also carries invoices, password resets and customer support, keeps working. If you do this:

  • set up SPF, DKIM and DMARC on the new domain too, plus MX so replies arrive — a domain with no MX record looks disposable;
  • point its website at your main site, so prospects who check it find you;
  • give new mailboxes on it time to build a history — see ramping up a new mailbox.

A second domain isn't a licence to send carelessly. Prospects still see your company name, and a burned outreach domain still costs you weeks.

Checking your setup

After any DNS change, wait a few minutes (occasionally a few hours) and check again. You want to see:

  • exactly one SPF record, ending in ~all or -all, under 10 lookups;
  • a DKIM key at your provider's selector, and signing switched on;
  • a DMARC record with a policy and a report address;
  • at least one MX record.

Outsquid checks SPF, DKIM, DMARC and MX for every connected mailbox's domain and re-checks every hour. Each record is rated pass, partial or fail on the Mailboxes page and the mailbox's Deliverability tab. The step-by-step guide in the help center has example records for Google and Microsoft, and the free DNS checker shows what any domain has right now, with every problem it finds explained.

Authentication is the foundation, not the whole house: volume, list quality and how people react to your emails matter just as much. The cold email deliverability guide covers the rest.

Questions

Do I need SPF, DKIM and DMARC if I only send a few emails a day?

Yes. Google requires SPF or DKIM from every sender, and filters judge every message on authentication whatever your volume. All three are free DNS records you set up once.

Should SPF end in ~all or -all?

Either is fine once DMARC is in place, because DMARC decides what happens to failing mail. Start with ~all, and move to -all when you're sure every service that sends as your domain is listed. Never use +all.

Is p=none enough for DMARC?

It meets Google's and Yahoo's requirement for bulk senders, and it's the right place to start because it changes nothing about delivery while the reports show who sends as your domain. Move to p=quarantine, then p=reject, once only your own services appear and pass.

How long do DNS changes take?

Usually a few minutes, occasionally a few hours, depending on the record's TTL and your DNS host. Check again with a DNS checker before you start sending.

Do I need a separate domain for cold email?

It isn't required, but many teams use one so the main domain, which carries invoices and customer email, is protected if outreach goes wrong. Set up SPF, DKIM, DMARC and MX on it too, and ramp its mailboxes up slowly.

Sources

In Outsquid, every sending domain is checked.

SPF, DKIM, DMARC and MX are looked up every hour and rated pass, partial or fail, and every mailbox gets a health score.

See how it works
Health · [email protected]Hourly
95/100 · Good
SPF✓DKIM✓DMARC✓

Keep reading

Send your next campaign without worrying about the domain.

14-day free trial · 1,000 emails · no credit card