Glossary

SPF record. A guest list for your domain.

In short

An SPF record (Sender Policy Framework) is a line of text in a domain’s DNS that lists the servers allowed to send email for that domain. The receiving server checks the sending server against that list. If it isn’t on it, the message looks suspicious. SPF is one of the basic defenses against spoofed senders and phishing.

SPF is one of three checks inboxes use to tell real email from fakes. The other two are DKIM and DMARC.

In plain English

SPF is a guest list. Whoever owns a domain publishes which servers may send email on its behalf. When a message arrives from a server that isn’t on the list, the receiving inbox can reject it or send it to spam. The standard behind it is RFC 72081.

Example: an SPF record

The record is a single TXT line in the domain’s DNS. A made-up example:

v=spf1 ip4:192.0.2.10 include:_spf.example-mailer.com -all
  • v=spf1 marks the line as an SPF record.
  • ip4: and include: name the allowed servers.
  • -all means everyone else fails. ~all is the softer version, a “soft fail”1.

What it means for you

You don’t set anything up yourself. Your email provider and the companies that write to you do. But you benefit: Gmail requires everyone sending to Gmail addresses to use SPF or DKIM, and bulk senders of more than 5,000 messages a day need SPF, DKIM and DMARC2. The UK’s National Cyber Security Centre recommends all three to stop spoofing3.

Whether a message passed SPF is written in its headers, for example as spf=pass. Our free phishing check reads that for you, and our guide on what to do after clicking a phishing link covers the next steps.

What SPF can’t do

SPF checks the sending server, not the “From” name you see in your inbox. A scam can pass SPF if it comes from the scammers’ own domain. DMARC is what ties the result to the visible sender address.

The short version

  • An SPF record lists the servers allowed to send for a domain.
  • Receiving servers compare and spot unauthorized senders.
  • Defined in RFC 7208, recommended by the NCSC and required by Gmail.
  • Passing SPF doesn’t prove an email is safe.

Related terms

FAQ

Good to know. Answered briefly.

What does spf=pass mean?

The server that sent the message is on the domain’s list. That points to a genuine sender, but it doesn’t prove the content is safe.

What’s the difference between -all and ~all?

-all tells inboxes that any other server should fail. ~all is a soft fail: other servers are probably not allowed, and the message is more likely to land in spam.

Do I need an SPF record for my Gmail or Outlook address?

No. Your provider handles that. You only need to set one up if you send email from your own domain.

Know your email. Then let it be quiet.

Join the waitlist. We’ll email you when mox launches.