Skip to content
Module 2 · Lesson 5 of 37

SPF: Sender Policy Framework

Part of The Complete Email Deliverability Course, in the Email Authentication Protocols module.

Author
Plays from YouTube in privacy-enhanced mode. Starting it loads YouTube, which may set cookies; see the cookie policy.Watch on YouTube (opens in a new tab)

SPF authenticates the envelope sender by checking if the sending IP is authorized in DNS.

Every SPF record must begin with v=spf1.

Mechanisms and DNS lookup impact:

Mechanism Counts toward 10-lookup limit?
ip4 / ip6 ❌ No
a ✅ Yes
mx ✅ Yes
include ✅ Yes
exists ✅ Yes
redirect ✅ Yes
all ❌ No

The 10 DNS lookup limit is the most common SPF misconfiguration. Exceeding it returns PermError, which DMARC treats as a fail.

Common SPF mistakes:

  • ❌ Multiple SPF records on one domain (causes PermError)
  • ❌ Using +all or ?all (authorizes everyone)
  • ❌ Stale include statements for old services
  • ❌ Not ending with -all or ~all

Sign in to keep track of what you have read.

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 50 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 / 50

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer