Fix too many SPF lookups
Get the DNS-querying terms down to 10. ip4 and ip6 do not query DNS at evaluation time, so a host written as an address does not spend one of the 10.
- Count
include,a,mx,ptr,exists, andredirect. Nested includes count, because the limit covers lookups those mechanisms cause. - Remove a sender that no longer sends. Each
includeyou drop gives the count back. - Do not publish a second SPF record to hold the overflow. Two
v=spf1records are a permerror of their own.
What to drop
Count include, a, mx, ptr, exists, and redirect. Nested includes count, because the limit covers lookups those mechanisms cause. Remove a sender that no longer sends. Each include you drop gives the count back.
Do not publish a second SPF record to hold the overflow. Two v=spf1 records are a permerror of their own. Void lookups have a separate limit of two. Exceeding that is also permerror.
Void lookups
Void lookups, a name that does not exist or an empty answer, have a separate limit. Implementations should stop at two, and exceeding that is also permerror. That is a second counter. It is not the same counter as the 10.