SPF RecordSender Policy Framework
An SPF record (Sender Policy Framework) is a TXT record in a domain's DNS that lists the mail servers allowed to send email for that domain. Receiving servers check it to spot forged senders. A missing or broken SPF record makes your email more likely to be rejected or filtered to spam.
How an SPF record works
DNS is the public address book of the internet, and a TXT record is a line of text stored in it. When an email arrives, the receiving server looks at the domain in the envelope sender (the technical return address, which can differ from the From line a person sees). It fetches that domain's SPF record and checks whether the sending server is on the list. The answer is pass, fail, softfail or neutral.
growthcab.comv=spf1 include:_spf.google.com ~allv=spf1 marks the record as SPF, include:_spf.google.com authorizes Google Workspace servers, and ~all asks receivers to treat any other sender as suspicious.That is the live record on growthcab.com, checked October 15, 2026. It uses 1 DNS lookup, because the single include points to Google's list of sending addresses.
| Ending | Meaning | When to use it |
|---|---|---|
| -all | Fail: reject servers not listed | Every sender is listed and tested |
| ~all | Softfail: accept but mark suspicious | The common safe default |
| ?all | Neutral: no opinion | Rarely useful |
| +all | Pass anyone | Never, it lets anyone send as you |
SPF record syntax and the 10-lookup limit
Every SPF record starts with v=spf1, lists who may send, and ends with an all rule for everyone else. Senders are added with mechanisms: include points to another domain's list (usually a mail or software provider), ip4 and ip6 name specific addresses, and a and mx authorize the domain's own web or mail servers.
SPF allows at most 10 DNS lookups per check (RFC 7208). Each include, a, mx and redirect counts, and so do the includes nested inside them. Teams that add a CRM, a support desk, a newsletter tool and a cold email platform one at a time often pass the limit without noticing. Past it, the check returns a permanent error, and DMARC treats that as a failure.
How to set up an SPF record
- List every service that sends email as your domain: mailbox provider, CRM, marketing tool, support desk and cold email platform.
- Find the include value each one publishes in its setup documentation.
- Combine them into a single TXT record at the root of the domain, starting with v=spf1 and ending with ~all or -all.
- Count the DNS lookups, nested ones included, and stay within the limit of 10 (RFC 7208).
- Send a test email and confirm spf=pass in the message headers.
- Add DKIM and DMARC, because SPF alone does not protect the From address the reader sees.
example.comv=spf1 include:_spf.google.com include:spf.example.net -allAuthorizes Google Workspace plus one other sending service, and asks receivers to fail every server that is not on the list.Our free cold email domain checker tests SPF and its lookup count together with DKIM and DMARC. If the records look right and email still lands in spam, an email deliverability consultant can trace the cause from message headers. The cold email deliverability checklist shows where SPF fits among the other checks.


