What SPF is
Sender Policy Framework, or SPF, is a way for a domain to publish a list of servers that are allowed to send email on its behalf. The list lives in DNS as a TXT record. When a receiving mail server gets a message, it can look up that record and check whether the server that delivered the message is on the list. If it is not, the receiver has a reason to distrust the message.
SPF exists because the basic email protocol lets any server claim to send mail from any domain. Without authentication, a spammer can put your domain in the sender address and there is no built-in way to tell. SPF gives receivers a simple check: is this IP address one the domain owner authorized?
It is one of three standards that work together. SPF authorizes sending servers. DKIM adds a cryptographic signature to each message. DMARC ties both results to the From address the recipient actually sees and tells receivers what to do when checks fail. SPF alone is useful but incomplete.
Why SPF matters for GTM teams
Mailbox providers increasingly expect authenticated mail, and Google and Yahoo both publish sender guidelines that include SPF or DKIM, with stricter expectations for higher-volume senders. Check their current guidance directly, since requirements change. Mail that fails authentication is more likely to be filtered to spam or rejected, which directly hurts outreach results.
For go-to-market teams, the practical problem is sprawl. A typical company sends mail through a workspace provider, a marketing platform, a sales engagement tool, a CRM, a support desk and a billing system. Each of those needs to be authorized in SPF, or covered by DKIM and DMARC alignment. When a new outbound tool is added without updating DNS, its mail fails SPF and deliverability drops, often without anyone noticing for a while.
SPF also protects the brand. Without it, it is easier for someone else to send convincing phishing mail as your domain, and the complaints from that abuse can damage your sender reputation.
How an SPF record is built
An SPF record is a single TXT record at the root of the sending domain, starting with v=spf1. After that come mechanisms, each describing a set of allowed senders, and a final rule for everything else. A simple example looks like v=spf1 include:_spf.example-mail.com ip4:203.0.113.10 -all. The main building blocks are:
ip4andip6: authorize specific IP addresses or ranges.aandmx: authorize the IPs behind the domain's A or MX records.include: pull in another domain's SPF record, used to authorize third-party sending services.-all: fail any sender not listed, the strict option.~all: soft-fail unlisted senders, a cautious option while you audit your senders.?all: neutral, which gives receivers little to act on.
How SPF is checked
The receiving server checks SPF against the domain in the envelope sender, also called the return-path or MAIL FROM address. This is set during the SMTP conversation and is often different from the From address shown in the email client. Many sending platforms use their own domain or a subdomain for the envelope sender so they can process bounces.
The receiver fetches the SPF record for that domain, evaluates the mechanisms in order and returns a result such as pass, fail, softfail, neutral, none, temperror or permerror. The result is recorded in the message headers and becomes one input to the spam filter and to DMARC.
Because SPF checks the envelope domain, a message can pass SPF while showing a completely different From domain to the reader. That is the gap DMARC closes with alignment: for SPF to count under DMARC, the envelope domain must match the visible From domain, either exactly or at the organizational level depending on the policy.
Common SPF mistakes
Too many DNS lookups. The SPF standard limits evaluation to ten DNS lookups, counting mechanisms such as include, a, mx and redirects, including nested ones inside included records. Exceeding the limit produces a permanent error, which receivers may treat as a failure. Teams that keep adding include entries for every new tool hit this limit surprisingly often.
More than one SPF record. A domain should have exactly one SPF record. Publishing two, for example one added by IT and one added by marketing, makes the result invalid. Merge them into a single record.
Forgetting a sender. A new sales engagement tool, CRM or support desk that sends as your domain but is not authorized will fail SPF. Audit your senders whenever you add a tool, and use DMARC reports to find ones you missed.
Relying on SPF alone. SPF often fails on forwarded mail because the forwarding server is not on your list. Pair it with DKIM, which survives most forwarding, and DMARC, which uses whichever of the two aligns.
How to check and evaluate your SPF setup
Start by listing every system that sends mail as your domain: workspace mail, marketing, sales engagement, CRM, support, billing and any product notifications. Compare that list with the mechanisms in your SPF record. Anything missing needs an include or an IP entry, or should send from a subdomain with its own record.
Use a DNS lookup tool or your provider's diagnostics to read the record and count lookups. Then send a test message to an inbox you control and inspect the headers for the SPF result. Look for pass on mail from each sending tool, not just your main mailbox.
Finally, publish a DMARC record with reporting turned on. Aggregate reports show every source sending as your domain and whether it passed SPF and DKIM. They are the most reliable way to find forgotten senders before you tighten your policy.
SPF for outbound sending domains
Teams that run cold outreach from a separate domain need a separate SPF record for it, authorizing only the tools that send from that domain. Keeping it minimal makes the lookup count easy to manage and the setup easy to audit. Subdomains used for bulk or tool-specific sending also need their own records; SPF is not inherited from the parent domain.
When you retire a tool, remove its include as well. Stale entries waste lookups and keep authorizing a service that no longer sends for you, which widens the set of servers that could send mail as your domain. A short quarterly review of the record, checked against DMARC reports, keeps it accurate as the sales and marketing stack changes.
Remember that authentication proves identity, not quality. A perfectly configured SPF record does nothing to offset a list full of addresses that bounce. The domain's reputation still depends on who you mail and how they react.
Where Dizo fits
SPF is configured in your own DNS for the systems that send your mail. Dizo is a data API and MCP server; it does not send email for you, so it does not need to be authorized in your SPF record. Your sending tools do.
Dizo covers the other big input to deliverability: list quality. The email finder returns a work email only when it validates, with status: "verified" and a 0 to 1 confidence score, at 1 credit only if found. If no valid email exists you get a free 404 not_found. Dizo does not verify lists you already hold; for a list with known bounces, re-identify those contacts with person enrich and the email finder, and suppress the rest. A team finding 5,000 fresh emails before launching a new authenticated outbound domain would spend at most 5,000 credits, or $125 at the $0.025 entry rate, and less when some lookups miss.
Pairing correct authentication with a list of validated addresses gives a new domain the cleanest possible start. The deliverability use case covers the data side in more detail.
Related concepts
SPF works alongside DKIM and DMARC, and relies on DNS records including the MX record for the mx mechanism. Together these support email deliverability and sender reputation, while list quality is measured through bounce rate and email verification.
Frequently asked questions
What does an SPF record look like?
It is a DNS TXT record such as v=spf1 include:_spf.example-mail.com ip4:203.0.113.10 -all. It starts with v=spf1, lists allowed senders with mechanisms like include and ip4, and ends with a rule for everything else, usually -all or ~all.
Should I use -all or ~all?
-all tells receivers to fail unlisted senders, while ~all asks for a soft fail. Many teams use ~all while auditing their senders and move to -all once they are confident every legitimate source is listed. DMARC policy ultimately governs what happens on failure.
What is the SPF ten-lookup limit?
The standard allows at most ten DNS lookups while evaluating a record, including those triggered by nested include entries. Going over produces a permanent error. Remove unused includes, or move some senders to subdomains with their own records.
Can a domain have two SPF records?
No. A domain should publish exactly one SPF record. Two records make the result invalid, so merge all mechanisms into a single TXT record.
Why does SPF fail on forwarded email?
The forwarding server delivers the message from its own IP address, which is not in your SPF record. DKIM signatures usually survive forwarding, which is why DMARC accepts either an aligned SPF pass or an aligned DKIM pass.
Do I need to add Dizo to my SPF record?
No. Dizo provides contact data through its API and does not send email from your domain. Only the tools that actually send your mail need to be authorized.
Last reviewed 2026-11-24.