SPF: name the systems allowed to send your email

Sender Policy Framework (SPF) publishes which systems may send email using a domain's envelope sender identity. A maintained policy gives receiving mail servers evidence for checking the sending server. It is one part of protecting your organisation's email identity.

A delivery collection list

A warehouse keeps a list of couriers authorised to collect shipments for a company. Staff compare a courier with that list. SPF performs a similar check on the sending server. The company name printed on the parcel is a separate identity, which DMARC connects to authentication.

Sending server IP
Envelope domain's SPF policy
Recipient's SPF result
SPF checks a server against the envelope identity. DMARC separately relates authenticated identity to the visible From domain.

How it works

The domain owner publishes one TXT record beginning v=spf1. It can name IP networks or include policies maintained by mail providers.

A recipient compares the connecting server's IP address with the policy for the SMTP MAIL FROM domain, or HELO identity in relevant cases. This can differ from the From address a person reads.

The final -all mechanism declares that unmatched senders fail SPF. DNS-dependent terms have a ten-lookup limit during evaluation. Provider changes can alter the policy's dependencies.

What our check observes

We inspect one SPF policy and a bounded graph of include and redirect references. We check supported syntax, duplicate policies, cycles, IP network formats and the observed lookup-term budget.

The baseline requires a terminal -all for full credit. Sender-dependent mechanisms and macros can make this static inspection inconclusive.

Where the observation stops

We do not send email or evaluate a specific sender IP. A pass does not establish that every legitimate service is authorised or that an included provider remains appropriate.

SPF does not authenticate the visible From address by itself. Forwarding can change the connecting server and affect SPF. DKIM and DMARC address different parts of the same mail flow.

How to read your result

pass

Supported static checks completed and the root policy ends in -all. This is policy evidence, not a successful message test.

warning

The inspected policy lacks terminal -all. Review the intended rollout stage and legitimate senders before tightening it.

fail

The probe found an absent or multiple policy, a recognised syntax problem, a cycle, an exceeded bound or +all authorising every sender. Read the specific evidence.

Not determined

DNS could not be observed reliably, or macros and sender-dependent terms exceeded what the static check can establish.

A safe next step

1

Email service owner

Inventory every sending service, including billing, support, recruitment and devices. Confirm the envelope domain each service uses.

Verify: Send representative messages and review recipient authentication results for each service.

2

DNS administrator with email providers

Consolidate the intended authorisations into one policy. Review provider includes and lookup use before changing the final mechanism.

Verify: Recheck DNS after propagation and confirm business mail still authenticates. Record the owner and review date.

Go to the source

These primary references explain the standards and behavior behind this guide. Product observations remain limited to the scope above.

  1. RFC 7208: SPF records and DNS lookup limits
  2. Microsoft: configure SPF and identify all email sources

Understand what applies to your domain.

Start with the public assessment or discuss a configuration change with the Logic V team.

Check a domainTalk through a finding