Skip to content
TR-05 Field-tested

SPF fails after adding one more include

SPF allows a maximum of 10 DNS lookups. One more include pushed the record over, and SPF returned permerror.

What happened

After adding one more include: for a new email service, SPF started failing for all mail.

Why

SPF evaluation is limited to 10 DNS lookups (each include, a, mx, ptr, exists and redirect counts, including nested ones). Going over returns permerror, which receivers treat as a failure.

Fix

  • Remove includes for services you no longer use.
  • Replace a and mx mechanisms with ip4: / ip6: ranges where they’re stable.
  • Move some senders to a subdomain with its own SPF record.

Check the lookup count with an SPF checker after every change.

Seeing this in your environment?

We can check for this, and everything around it, as part of an audit.

Ask us about TR-05

Find out what's really going on in your tenant.

Tell us what you run and what's worrying you. We'll recommend the right audit, and tell you honestly if you don't need one.