Skip to content

SPF

published · September 13, 2026

SPF (Sender Policy Framework, RFC 7208) is a DNS TXT record in which a domain lists the servers allowed to send mail using its name, ending in a qualifier that says what to do with the rest.

SPF, the Sender Policy Framework of RFC 7208, is a DNS TXT record beginning v=spf1 in which a domain lists the addresses, hosts and included policies allowed to send mail using its name, and ends with an all term whose qualifier — -all fail, ~all soft fail, ?all neutral — says what a receiver should make of everything else. A receiver evaluates it against the envelope sender of each message.

What Spaw answers

An email answer carries has_spf; a business domain without a record adds the no_spf weight of 10, while free providers are exempt because theirs is known. The domain endpoint adds spf_all, the effective qualifier, and spf_lookup_count, the number of DNS-querying terms the policy needs once include: and redirect= are followed — RFC 7208 allows ten, and a policy over that limit fails permanently at every receiver, which is the most common SPF fault there is.

What it does not mean

SPF says who may send as the domain's envelope sender. It says nothing about the address a person sees in their mail client, which is what DKIM alignment and DMARC cover, and it breaks on forwarding, which is why a -all policy is not by itself a reason to expect delivery.

Related

markdown version: /glossary/spf.md

Verify addresses the same way

The Spaw API runs every check described here on each lookup, with an SMTP handshake that never sends mail. 10 free lookups a month, no card required.

Get your API key

More glossary

  • Area-code overlay

    An area-code overlay is a new area code added over the same area as an existing one, instead of splitting it, so neighbours can hold different codes and local calls need ten digits.

  • Calling window

    A calling window is the span of local hours a sender contacts people in. Spaw answers in_call_window from the number's time zones: clock arithmetic, not compliance advice.

  • Fictional number

    A fictional number sits in a range kept out of service for films, TV and other fiction: 555-0100 to 555-0199 in North America, and ranges Ofcom, ARCEP, ACMA and ComReg reserve elsewhere.

  • International (exit) prefix

    An international prefix is what is dialled to leave a country before the calling code: 00 in most of the world, 011 in North America. Spaw reads it and suggests a fix in did_you_mean.

  • International network number

    An international network number sits under a calling code the ITU gives a global service rather than a country, such as +870, +881, +882 or +883, so its country is null.

  • Live carrier check (HLR lookup)

    A live carrier check asks the mobile networks, at the moment of the lookup, whether a number is in service, which network serves it and whether it is roaming. On Spaw it is not enabled.

  • Number pooling (thousands-blocks)

    Number pooling splits a North American central office code into ten blocks of a thousand numbers, each assigned to a carrier separately, so one code can hold several carriers' numbers.

  • Number portability

    Number portability lets a subscriber keep a phone number when changing carrier. The number's block stays listed under the carrier it was issued to, so block data names the original holder.