A business adds a newsletter platform, website form or billing service to its email setup. Each provider says to add its SPF instruction. The domain already has one. After a few changes, some messages start failing SPF checks even though the list of authorised senders looks reasonable.
One SPF record can still exceed the DNS lookup limit. That limit counts the lookups triggered when the policy is evaluated, including lookups inside provider records. It does not simply count the number of visible include: words.
What the SPF lookup limit means
The IETF’s SPF standard limits SPF evaluation to 10 DNS-querying terms. Terms that can trigger lookups include include, a, mx, ptr, exists and redirect. If evaluation exceeds the limit, the result is a permanent error, usually written as permerror.
An include: can lead to more lookups inside the included provider’s policy. A single visible include may therefore use more than one lookup. By contrast, ip4, ip6 and all do not trigger DNS lookups during evaluation. A long list of IP mechanisms is not automatically over the lookup limit.
This is separate from publishing multiple SPF policies for the same domain name. The standard says a domain name must not have multiple records selected for an SPF check. Keep one policy for that name, and add legitimate sender requirements to it only after checking the providers’ instructions.
Why a new sender can expose an old SPF problem
A company may have accumulated authorised senders over time: employee mail, a website contact form, invoices, a newsletter tool and an older system nobody remembers. The visible policy may be close to the limit already. A provider can also change the SPF record it publishes, which may change the number of nested lookups even when your own DNS did not change.
SPF results are checked by the receiving mail system. A permerror means SPF could not be evaluated correctly; it does not mean every recipient will handle the message in the same way. DMARC may still pass if aligned DKIM passes, but an SPF error is worth investigating. It is not a reason to rewrite the message subject or increase sending volume.
Audit the record before editing it
- Find the domain being checked. SPF checks the domain in the SMTP envelope sender, which may differ from the address shown in the visible From line. Use a received message’s authentication results or ask the sending provider which domain it evaluates.
- List the services that still send. Include employee mail, website forms, billing notifications, campaign tools and any older provider. Confirm which domain each service uses.
- Trace the full lookup path. Use a reputable SPF evaluation tool that follows nested records. Count the mechanisms that trigger DNS queries, not just the visible includes.
- Check message evidence. Inspect a real message’s Authentication-Results header and review DMARC aggregate reports if available. They can help show which systems are using your domain and where authentication is failing.
- Ask providers for their current instructions. Confirm the exact SPF mechanism, sending domain and DKIM setup. Do not guess at an include name or copy a record from another business.
Safer ways to reduce the lookup count
Start by removing only senders the business has confirmed are no longer in use. Keep a record of what the entry authorised and who approved its removal. An old include can look unused while a website or finance system still depends on it.
Next, ask providers whether they support a dedicated sending subdomain or another supported authentication arrangement. A subdomain can have its own SPF policy when the service uses that domain for the relevant sending identity. A visible From address on a subdomain alone does not prove that SPF is checking that same name; confirm the envelope sender and DMARC alignment with the provider.
SPF flattening replaces provider lookups with resolved IP addresses. This can reduce lookups, but a manually copied IP list can become outdated when a provider changes its sending infrastructure. Do not flatten a record unless someone is responsible for keeping it current and the provider supports that arrangement. Ask your mail administrator or service provider to review the complete policy before making a change.
Avoid these quick fixes
- Do not add another
v=spf1TXT policy for the same domain name. - Do not delete every unfamiliar include without checking which service still sends.
- Do not assume that 10 visible includes equal 10 total lookups, or that 11 visible mechanisms always exceed the limit.
- Do not paste a provider’s SPF example over the existing policy; that can remove other legitimate senders.
- Do not assume SPF passing guarantees inbox placement. Authentication is one part of mail acceptance and filtering.
How this fits with SaraBiT Yuti
Yuti provides business mailboxes and email campaigns in the organisation workspace. For a Yuti mailbox, use the DNS values shown in the current setup instructions and preserve its sending authorisation when you add another legitimate mail service. If an outside platform also sends using your domain, ask that provider for its exact SPF and DKIM requirements, then review the combined setup with whoever manages your DNS.
Read our guides to business email and DNS setup in India, troubleshooting third-party email authentication and choosing a newsletter sending domain. Correct DNS records help recipients authenticate the sender; they do not guarantee inbox placement or delivery.
Frequently asked questions
Is the SPF limit 10 include statements?
No. The limit applies to DNS-querying terms during SPF evaluation, including nested lookups in provider records. Some mechanisms, such as ip4 and ip6, do not count toward that lookup limit.
Can I have multiple SPF records?
Do not publish multiple SPF policies that can be selected for the same domain name. Keep one policy for that name and ask each sending provider how its authorised sources should be represented.
Will an SPF permerror always send my email to spam?
There is no single outcome for every receiving provider. A permerror means SPF evaluation failed; other authentication results, recipient rules and sender reputation also affect how a message is handled.
Can DKIM still help if SPF has a permerror?
Yes. DMARC can pass through aligned DKIM even when SPF does not pass. Check the actual authentication results and alignment for the message rather than assuming one result tells the whole story.
