Skip to main content
LearnGuides

SPF Record Setup Guide for Cold Email (2026)

Saksham Jain
By Saksham JainPublished on: Mar 30, 2026 · 10 min read · Last reviewed: Mar 2026
InboxKit domain management showing SPF record configuration status
InboxKit domains page with green SPF status indicators showing correctly configured SPF records across all domains

TL;DR

SPF records tell receiving servers which IP addresses can send email on behalf of your domain. Get it wrong and your emails go straight to spam. Here is the complete setup guide.

What Is an SPF Record?

SPF (Sender Policy Framework) is a DNS TXT record that lists the mail servers authorized to send email from your domain. When a receiving server gets an email from your domain, it checks the SPF record to verify the sending server is authorized.

If the sending server is not listed, the email fails SPF authentication. Depending on your DMARC policy, this can mean the email goes to spam or gets rejected entirely.

SPF Record Syntax

Every SPF record follows the same structure. Here is the complete syntax reference:

ComponentExampleWhat It Does
Versionv=spf1Required prefix. always spf1
include:include:_spf.google.comAuthorizes another domain's mail servers
ip4:ip4:192.168.1.0/24Authorizes a specific IPv4 address or range
~all~allSoft fail. recommended for cold email
-all-allHard fail. risky, can bounce legitimate emails

Ready-to-use SPF records:

Provider SetupSPF Record
Google Workspace onlyv=spf1 include:_spf.google.com ~all
Microsoft 365 onlyv=spf1 include:spf.protection.outlook.com ~all
Google + Microsoftv=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all
Google + Instantlyv=spf1 include:_spf.google.com include:sendgrid.net ~all

Critical rule: Only ONE SPF record per domain. Combine all senders into a single record.

Common SPF Mistakes in Cold Email

These are the 5 SPF errors that cause the most deliverability damage in cold email setups:

#MistakeWhat HappensHow to Fix
1Too many DNS lookups (>10)SPF record exceeds the 10 DNS lookup limit and fails entirely for all emailsEach include: counts as 1+ lookups. Audit with MXToolbox SPF checker. Use ip4: for static IPs to reduce lookups
2Using -all instead of ~allHard fail (-all) causes legitimate emails to bounce if any config issue existsAlways use ~all (soft fail) for cold email domains
3Multiple SPF records on one domainBoth SPF records fail validation. all emails fail SPFCombine all authorized senders into a single TXT record starting with v=spf1
4Forgetting to add your sequencerEmails sent through Instantly, SmartLead, etc. fail SPF authenticationCheck your sequencer docs for their SPF include: value and add it to your record
5Not updating after adding servicesNew sending service emails fail auth while old services continue workingAudit your SPF record every time you add a new sending tool or email service

Quick diagnostic: Send a test email to Gmail > click three dots > Show Original. If SPF shows FAIL, your record is misconfigured. If it shows PERMERROR, you have exceeded the 10-lookup limit or have duplicate records.

Setting Up SPF for Different Providers

Here is the complete reference for SPF include values by provider and sequencer:

Provider / SequencerSPF Include ValueDNS Lookups Used
Google Workspaceinclude:_spf.google.com3-4 lookups
Microsoft 365include:spf.protection.outlook.com2-3 lookups
Instantlyinclude:sendgrid.net1-2 lookups
SmartLeadinclude:_spf.smartlead.ai1 lookup
Lemlistinclude:_spf.lemlist.com1 lookup
Woodpeckerinclude:wdpkr.com1 lookup
  • Google + Instantly: v=spf1 include:_spf.google.com include:sendgrid.net ~all (5-6 lookups)
  • Google + Microsoft + SmartLead: v=spf1 include:_spf.google.com include:spf.protection.outlook.com include:_spf.smartlead.ai ~all (7-8 lookups)

Watch the 10-lookup limit. Google alone uses 3-4 lookups. Adding Microsoft and a sequencer can push you to 7-8. Always verify your total lookup count with MXToolbox.

InboxKit configures the correct SPF record automatically for Google Workspace ($2.99/mo) and Microsoft 365 ($2.99/mo) mailboxes.

Automatic SPF with InboxKit

InboxKit configures SPF records automatically when you create a mailbox. Here is what happens behind the scenes:

StepWhat InboxKit DoesTime
1. Record creationGenerates the correct SPF TXT record for your mailbox provider (Google/Microsoft)Instant
2. DNS propagationPublishes the record to your domain's DNS zone1-4 hours
3. ValidationVerifies the SPF record resolves correctly and lookup count is under 10Automatic
4. Ongoing monitoringInfraGuard checks SPF integrity every few hoursContinuous
5. Alert on changesNotifies you immediately if SPF records are modified, deleted, or corruptedInstant alerts

This eliminates the most common source of deliverability problems: incorrect DNS configuration. For teams managing 50+ domains, InboxKit saves approximately 8-10 hours of manual SPF configuration and prevents the copy-paste errors that break authentication.

How to Verify Your SPF Record

Check your current SPF: 1. Use a DNS lookup tool (MXToolbox, Google Admin Toolbox) 2. Look for the TXT record starting with v=spf1 3. Verify all your sending services are included 4. Confirm you have only ONE SPF record 5. Check the DNS lookup count is under 10

InboxKit users: InfraGuard continuously monitors SPF records and alerts you to any issues automatically.

Frequently Asked Questions

Emails fail SPF authentication. Depending on your DMARC policy, they go to spam or get rejected. Always verify after making DNS changes.

Yes. InboxKit configures SPF records automatically when you create mailboxes. InfraGuard also monitors them continuously.

No. Only one SPF record per domain. Multiple records cause both to fail. Combine all authorized senders into a single record.

Ready to set up your infrastructure?

Plans from $39/mo with 10 mailboxes included. Automated DNS, warmup, and InfraGuard monitoring included.