What is SPF?

Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.

DefinitionSPF: Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.

In more detail

SPF is one of the three main email authentication standards, along with DKIM and DMARC.

Why it matters for your inbox

Understanding terms like SPF helps you judge whether an email is trustworthy and how your address is handled online. Every message in our temporary inbox comes with an Email X-ray that checks sender authentication, tracking images and suspicious links for you.

Related terms

  • DKIM: DomainKeys Identified Mail, a cryptographic signature added to emails so receivers can verify they weren't altered and came from the domain.
  • DMARC: A policy that tells receivers what to do with mail failing SPF or DKIM checks, and where to send reports.

SPF at a glance

TermSPF
CategoryEmail authentication
Short definitionSender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.

Where SPF fits: email authentication

Email authentication lets a receiving server check that a message really comes from the domain it claims. SPF lists the servers allowed to send for a domain, DKIM adds a cryptographic signature to each message, and DMARC tells receivers what to do when those checks fail and asks them to send reports. Together they make it much harder for scammers to send mail that looks like it comes from your bank or employer. When you open a message in a temporary inbox, the Email X-ray shows the result of these checks in plain words.

More email authentication terms

TermMeaning
ARCAuthenticated Received Chain, a way for forwarding servers to preserve the original authentication results of a message.
Authenticator appAn app that generates time-based one-time codes for two-factor sign-in.
BIMIBrand Indicators for Message Identification, a standard that shows a verified brand logo next to authenticated email.
DANEDNS-based Authentication of Named Entities, which publishes TLS certificate details in DNSSEC-signed DNS.
DKIMDomainKeys Identified Mail, a cryptographic signature added to emails so receivers can verify they weren't altered and came from the domain.
DKIM selectorA short name that tells receivers which DKIM public key to look up in DNS.

How this works in practice

Every time a message reaches a mail server, the server runs these checks in a few milliseconds. It looks up the sender domain's SPF record to see whether the connecting server is allowed, verifies any DKIM signature against the public key in DNS, and then applies the domain's DMARC policy. The results are written into an Authentication-Results header at the top of the message. Your mail app rarely shows them, but they decide whether a message lands in your inbox, in spam, or nowhere at all.

For domain owners, these records are a one-time setup with ongoing maintenance: every new service that sends email for you (a newsletter tool, a help desk, a billing system) has to be added to SPF and set up to sign with DKIM, or its mail will start failing DMARC.

Common misconceptions

MythReality
A pass means the email is safe.It means the domain owner authorized it. Scammers can authenticate their own look-alike domains.
SPF protects the From address you see.SPF checks the hidden envelope sender. DMARC is what ties the checks to the visible From domain.
DMARC is only for big companies.Any domain that sends email benefits, and any domain that does not send email should publish a strict policy so nobody can fake it.

What you can do

  • Check your own domain with our SPF, DKIM and DMARC checkers.
  • When a message looks suspicious, read its authentication results before anything else.
  • If you own a domain, start DMARC at p=none with reports, then tighten it.

Terms used on this page

DNS
The Domain Name System, which translates domain names into the information computers need, like IP addresses and mail servers.
DKIM
DomainKeys Identified Mail, a cryptographic signature added to emails so receivers can verify they weren't altered and came from the domain.
DMARC
A policy that tells receivers what to do with mail failing SPF or DKIM checks, and where to send reports.
ARC
Authenticated Received Chain, a way for forwarding servers to preserve the original authentication results of a message.
Authenticator app
An app that generates time-based one-time codes for two-factor sign-in.
BIMI
Brand Indicators for Message Identification, a standard that shows a verified brand logo next to authenticated email.

Free tools for this

  • SPF Checker: Validate SPF, spot multiple records and estimate DNS lookups.

Related guides

Nearby in the glossary

  • SPF 10-lookup limit: The rule that an SPF check may trigger at most 10 DNS lookups, or the result is a permanent error.
  • STARTTLS: A command that upgrades a plain connection between mail programs to an encrypted TLS connection.
  • Spear phishing: A targeted phishing attack personalized for a specific person or organization.

FAQ

What does SPF mean?

Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.

Why should I know about SPF?

SPF is one of the three main email authentication standards, along with DKIM and DMARC.

Do I need SPF, DKIM and DMARC for a personal email address?

No. If you use Gmail, Outlook or another provider's address, they handle it for you. These records matter when you own the domain you send from.

Install TempMailify

Add TempMailify to your device for one-tap access, like a regular app.