NewPlus, API and MCP are live — run 175 tools from your own stack.
100www

Tool 154 · E05 · Email · Updated Nov 2026

SPF Authorization

Test whether a specific IP is authorised to send mail for a domain, following the full SPF evaluation.

Hybrid Free No sign-up
API & MCP
100www.dev/tools/spf-authorization-checker?d=github.com&ip=192.30.252.1

Basic SPF evaluation: ip4/ip6, include, a and mx. Macros and exists are not evaluated.

What it does

SPF authorization answers a concrete question: if a message claiming to be from this domain arrives from this IP, does the domain's SPF policy allow it? The tool evaluates the record the way a receiver does, including includes, qualifiers and the DNS lookup budget.

How it works

Evaluation starts at the domain in the envelope sender (MAIL FROM), not the visible From header. Mechanisms are checked left to right against the IP. The first match returns its qualifier: pass, fail, softfail or neutral.

include expands another domain's policy and evaluates it in place. a and mx resolve hostnames to addresses, exists performs a name lookup, and ip4/ip6 match literal ranges. ptr is discouraged because it is slow and unreliable, but some records still use it.

The ten-DNS-lookup limit applies across the whole evaluation, including nested includes. A domain can look correct and still return permerror because one more include pushed it over the limit. The tool reports the lookups it consumed so the cause is visible.

A result of none means no SPF record was found. neutral means the policy deliberately expressed no opinion, often via ?all. temperror is a transient DNS failure and should be retried; permerror is a permanent configuration error.

SPF only authorises the envelope domain. A pass does not guarantee inbox placement, and a fail does not always mean rejection. DMARC decides what happens when SPF fails to align, which is why the two are read together.

When to use it

  • Confirm a new server's IP is covered before switching outbound mail.
  • Debug why one sending path fails SPF while another passes.
  • Check an acquired domain's policy against its actual senders.
  • Verify a client's claim that “SPF is set up” for a specific relay.

Glossary

Envelope sender
The MAIL FROM address used in SMTP, which SPF evaluates.
Qualifier
+ pass, - fail, ~ softfail or ? neutral on a mechanism.
include
A mechanism that imports another domain's SPF policy.
Permerror
A permanent evaluation error, often too many DNS lookups or duplicate records.
Temperror
A transient DNS failure during evaluation; retry later.

Frequently asked questions

SPF passes but the mail still goes to spam. Why?+

SPF authenticates only the envelope domain. Alignment, DKIM, reputation, content and list quality still apply. Check DMARC and the authentication results in a real message.

Why does the same IP pass for one domain and fail for another?+

Each domain has its own record. The IP may be included in one and missing from the other, or the second record may exceed the lookup limit.

Can I test a forwarded message?+

Forwarding changes the envelope sender, so SPF often fails while DKIM may survive. Test the original sender's domain and IP, not the forwarder.

What does softfail mean for delivery?+

The domain is not certain the sender is authorised. Receivers may accept but mark the message. It is a transitional state, not a strict policy.

Does SPF cover subdomains?+

Only if they have their own record or match a mechanism. There is no automatic inheritance from the parent domain.

API & MCP

The same result envelope is available over REST and MCP. Replace the sample value with your own target.

GET
curl "https://100www.dev/api/v1/tools/spf-authorization-checker?ip=192.30.252.1"
REST API referenceAuth, quotas, error codes and the full envelope.
MCP serverAvailable over REST, but not exposed through MCP.

Shareable result

https://100www.dev/tools/spf-authorization-checker?ip=192.30.252.1

100www

100www engineering

Editorial

Reviewed by Steve · · Report an error

Tested from the 100www probe network; results vary by location and network.