Sender Policy Framework (SPF)

What is SPF? Sending authorization, identities and limits

SPF, or Sender Policy Framework, lets a domain publish which hosts may use that domain in the SMTP sending identity. The receiver checks the connecting source against the relevant policy. SPF does not authenticate a person, encrypt the message or by itself validate the visible From address. To interpret a result, identify the domain and sending route that were actually evaluated.

Which email identity does SPF evaluate?

The email address displayed to a reader is different from the envelope identity used during mail transport. SPF commonly evaluates the MAIL FROM domain; the protocol also defines checks involving the HELO identity. A business owner looking only at the visible From line may therefore be looking at a different domain from the one named in the SPF result.

Ask which system sent the message, what identity it used and which receiving system evaluated it. A website form, invoice service and staff mailbox may follow different routes even when their messages look similar. Keep that route information beside the result rather than describing SPF as a general verdict on every message showing the business name.

RFC 7208: Sender Policy Framework

How the published authorization is used

A policy in DNS expresses permitted sending infrastructure through mechanisms defined by SPF. The receiver evaluates the policy for the relevant identity and source. The record is a configuration statement; the result comes from evaluating a particular mail transaction. Finding a record does not demonstrate that all business platforms use it successfully.

The right configuration depends on confirmed active senders and their providers. Do not authorize unfamiliar infrastructure merely because it appeared in a report, and do not copy another business's record into production. Publishing more than one applicable SPF record is not a way to combine policies. Changes need an owner, supported values and checks of the retained sources.

Read the result with its boundary

An authorization result concerns the evaluated identity and route. A permanent policy error is different from a temporary lookup problem, and neither should be summarized simply as a suspicious message. Preserve the precise result, domains, observation time and receiver before deciding what to change.

A source that passes SPF can still send unwanted mail, and a legitimate forwarded message can encounter an SPF problem on its changed route. The authentication label alone does not decide whether an invoice is honest, whether an account is compromised or whether a recipient places the message in the inbox.

Use an SPF observation without extending its meaning
ObservationUseful conclusionSeparate check
SPF passThe evaluated source satisfied that identity's policy.Does the identity align with the visible From domain?
SPF fail or softfailThe policy evaluation did not authorize the route in the same way as a pass.Was this the intended direct or forwarded route?
SPF permerrorA policy/evaluation condition prevented a valid result.Which syntax, record or evaluated-term problem occurred?
SPF temperrorA temporary condition prevented completion.What DNS/provider evidence explains the temporary failure?
SPF record foundA resolver observed a published policy.Do actual messages from the business sources evaluate as intended?

Why DNS complexity and forwarding matter

SPF has a limit on evaluated DNS-dependent terms, including reached recursive dependencies. That is different from counting every DNS packet or the number of visible top-level includes. The dedicated lookup-limit guide explains how to map the affected evaluation path and choose a supported correction without deleting a necessary sender.

Forwarding can change the connecting source that the next receiver sees. Whether a forwarded route is handled successfully depends on the systems involved; adding an unknown forwarder to the original domain's authorization is not an automatic solution. Investigate the message path and related DKIM/DMARC results before broadening the policy.

How SPF relates to DKIM and DMARC

DKIM verifies a signature associated with a signing domain, while SPF evaluates authorization of a sending route for an SMTP identity. DMARC connects a passing aligned SPF or DKIM identity to the visible From domain. These are related observations with different inputs, not three interchangeable checks.

A business acceptance record should identify the source, relevant authenticated identities and the result that supplied alignment. A passing aligned DKIM result can satisfy DMARC even when SPF does not provide alignment. This does not make an unresolved SPF problem disappear; it means the observations should be recorded accurately rather than reduced to one generic score.

RFC 9989: DMARC, May 2026

Turn the term into a useful supplier question

Ask the supplier to map active sending systems to the identities they use, the supported DNS configuration and controlled received-message evidence. Include periodic systems such as billing or payroll when they are part of the scope. Record what is confirmed, what remains unmapped and who maintains the policy when a provider changes.

CyberFixCrew is an Israeli cybersecurity company serving businesses worldwide with business email, website security and digital infrastructure. Our Israeli technical knowledge connects the definition to the real sending environment. The glossary explains SPF; the implementation service separately agrees access, scope, configuration and acceptance.

Further reading: RFC 7208: Sender Policy FrameworkFurther reading: RFC 9989: DMARC, May 2026

Practical answers

Questions about this topic

Does SPF check the address a customer sees in From?

Not directly: SPF evaluates an SMTP identity, commonly the MAIL FROM domain, which can differ from the visible From address. DMARC adds an alignment relationship to that visible domain. Inspect the identities rather than assuming every pass refers to the address displayed to the reader.

Does SPF pass guarantee delivery?

No, it establishes a particular authorization result for the evaluated sending route and identity. Receiver handling, reputation, content and other conditions remain relevant. It does not prove inbox placement, recipient reading or that the request inside the message is legitimate.

Can I add a second SPF record for another provider?

Multiple applicable SPF records are a policy error, not extra capacity. Inventory the authorized sources and use a supported combined policy or appropriate sending architecture. Test the actual messages after changes instead of treating record presence as acceptance.

LET US DISCUSS YOUR TASK

Clarify the sending identity behind the result

Describe the domain, sending platform and observed result. Keep credentials and private mail contents out of the enquiry.

Discuss sender authentication