Skip to content
Back to Blog
Jun 21, 2026

SPF, DKIM, and DMARC Setup for Cold Email (2026 Guide)

What SPF, DKIM, and DMARC do, why Gmail and Yahoo now require all three from cold senders, and exactly how to set them up on every sending domain before you scale.

Sending cold email at volume? Authentication is step one, but you also need warmed mailboxes and inbox rotation. Send mass cold email the right way with a bulk email sender built for cold outreach, from inboxes you own.

See the cold email sender

If your cold emails are landing in spam, the first thing to check is not your subject line. It is your authentication. Since February 2024, Gmail and Yahoo require every sender to pass SPF, DKIM, and DMARC, and they enforce it harder each year. Get these three records wrong and it does not matter how good your copy is, because mailbox providers will quietly filter or reject the mail before a human ever sees it. Here is what each record does and exactly how to set them up on your cold email domains.

What are SPF, DKIM, and DMARC?

SPF, DKIM, and DMARC are three DNS records that prove your email is legitimate. SPF (Sender Policy Framework) lists which servers are allowed to send mail for your domain. DKIM (DomainKeys Identified Mail) adds a cryptographic signature so the receiving server can confirm the message was not tampered with in transit. DMARC (Domain-based Message Authentication, Reporting and Conformance) ties the two together, telling receivers what to do when a message fails SPF or DKIM and where to send reports.

Think of them as a layered ID check. SPF says "this server is allowed to speak for me," DKIM says "and this message really came from me, unchanged," and DMARC says "if either check fails, here is my policy." Mailbox providers use all three together to decide whether you are a trustworthy sender or a likely spoofer.

Do I need SPF, DKIM, and DMARC for cold email?

Yes, all three are mandatory in 2026, not optional. Google and Yahoo's sender guidelines require SPF, DKIM, and DMARC from anyone sending to their users, and bulk senders who push more than 5,000 messages a day to Gmail face the strictest enforcement, including a required spam-complaint rate under 0.3 percent and one-click unsubscribe. For cold email specifically, missing authentication is one of the most common reasons campaigns die in spam, because an unauthenticated cold message looks exactly like a phishing attempt.

The good news is that setup is a one-time job per domain and costs nothing but a few minutes in your DNS settings. Once it is done correctly, it protects every campaign you send from that domain for as long as you own it.

How do I set up SPF for cold email?

Add a single TXT record to your sending domain's DNS that lists every service allowed to send on its behalf. A basic record looks like v=spf1 include:_spf.google.com ~all for a Google Workspace mailbox, swapping the include value for whatever provider you send through. If you send from more than one service, combine them into one record, because a domain can only have one valid SPF record.

Two rules keep SPF healthy. Keep the record under the 10-DNS-lookup limit, since exceeding it causes SPF to fail outright. And end with ~all (soft fail) rather than -all while you are still adding senders, then tighten to -all once you are sure every legitimate source is listed.

How do I set up DKIM for cold email?

DKIM setup is handled mostly by your mailbox provider. In Google Workspace, Microsoft 365, or your SMTP service, generate a DKIM key in the admin settings, which produces a public key and a selector. You then publish that public key as a TXT (or CNAME) record at the selector's subdomain, something like selector._domainkey.yourdomain.com. Once the record propagates, enable DKIM signing in the provider so every outgoing message carries the signature.

Always confirm DKIM is actually signing after you turn it on. Send a test message to a personal inbox, open the original headers, and look for a DKIM result of pass. A published key that is not being used to sign mail does nothing for deliverability.

How do I set up DMARC for cold email?

Add a TXT record at _dmarc.yourdomain.com with your policy. Start with v=DMARC1; p=none; rua=mailto:[email protected], which monitors without affecting delivery and sends you aggregate reports. After a couple of weeks of clean reports confirming SPF and DKIM pass on your real mail, tighten the policy to p=quarantine and eventually p=reject to block spoofers using your domain.

For cold email, do not jump straight to p=reject before you have verified your own mail authenticates correctly, or you risk your legitimate campaigns being rejected. Move up the policy ladder only once the reports show your sending is clean.

Do I need authentication on every sending domain?

Yes. Most cold email programs send from several secondary domains to protect the primary brand domain, and each one needs its own SPF, DKIM, and DMARC records. A domain without authentication will drag down the reputation of every mailbox on it, no matter how well the others are configured. Set up all three records on every secondary domain at registration, before you connect mailboxes or start warmup.

This is also why buying dozens of throwaway domains backfires: each one is a separate authentication and warmup job, and unauthenticated domains poison your whole sending pool. A handful of properly configured, warmed domains beats a pile of cold, half-set-up ones every time.

How do I check if my email authentication is working?

Send a test email to a Gmail account, open the message, choose "Show original," and confirm SPF, DKIM, and DMARC each show a pass. Free tools like MXToolbox or Google's own checkers let you look up each DNS record directly and flag syntax errors. Many cold email platforms also verify SPF, DKIM, and DMARC for every connected mailbox and warn you before a misconfigured domain ever sends.

Re-check authentication any time you add a new sending service or change DNS providers, because a single broken record can silently push an entire campaign into spam. Make it part of your pre-launch checklist for every domain.

Authentication is the foundation, not the finish line

SPF, DKIM, and DMARC get you past the front door, but they do not earn you the inbox on their own. You still need warmed mailboxes, clean verified lists, sane per-inbox volume, and messages that read like a human wrote them. Plan the ramp for each new domain with an email warmup calculator, and run your copy through a cold email spam checker before you scale so a trigger word does not undo your DNS work.

Once your domains authenticate cleanly, the next job is sending volume without burning them, which means rotating across many inboxes inside safe limits. That is what a cold email sender built for bulk outreach handles for you. If you also run outbound on other channels, the same authenticate-then-warm discipline applies to a WhatsApp bulk messaging program, and routing the replies that come back is far easier with automated email parsing feeding your CRM. To balance all this outbound with an inbound channel buyers find on their own, pair it with AI-assisted SEO content.

Start sending

Put this into practice with ColdMailer

Bring your own SMTP, let AI personalize every message, and land in the inbox, not spam. Free to start.

Start Free