Kenso

Glossary

SPF (sender policy framework).

SPF (Sender Policy Framework) is an email authentication standard. A domain publishes a DNS TXT record listing the servers allowed to send mail for it, and receiving servers check each message's sending IP against that list.

What is SPF (sender policy framework)?

In short

An SPF record is one TXT record on the domain that starts with v=spf1, for example v=spf1 include:_spf.google.com ~all.

When a message arrives, the receiving server takes the domain from the envelope sender (the Return-Path, not the From address people see), looks up its SPF record and checks whether the connecting IP is allowed. The result is pass, fail, softfail, neutral, none or an error.

Two limits catch people out. A domain can have only one SPF record, so adding a sending tool means editing the existing record. And SPF evaluation may trigger at most 10 DNS lookups through include, a, mx, ptr, exists and redirect. More than one record, or more than 10 lookups, gives a permanent error, and SPF no longer passes.

SPF example.

Example: a company sends from Google Workspace and one marketing tool, with v=spf1 include:_spf.google.com include:spf.example-esp.com ~all. Before adding a third tool it counts lookups, because each include can contain more lookups of its own, and the total must stay at 10 or below.

SPF in practice.

SPF alone does not protect the From address. DMARC does that, by requiring SPF or DKIM to pass for a domain that matches the From domain. Google requires SPF or DKIM from every sender and both, plus DMARC, from bulk senders, so a cold email domain without a correct SPF record starts at a disadvantage.

Frequently asked questions.

A DNS TXT record, starting with v=spf1, that lists the servers allowed to send mail for your domain. Receiving servers check the sending IP against it.

Do this in Kenso.

Do this in Kenso

Delivery handles DNS setup for the domains and mailboxes it provisions, then checks SPF on every sending domain and shows pass or fail, so you don't edit TXT records by hand.

Open in Kenso
Module
Delivery

Sources we checked.

Every source, with the date we checked it
SourceChecked
RFC 7208: Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1
Google: Email sender guidelines

What changed on this page.

  1. Page published.

Start with a 14-day free trial.

14-day free trial, no card to start.

Left illustrated email envelope for personalized outreachCenter illustrated email envelope for personalized outreachRight illustrated email envelope for personalized outreach