Glossary

What is SPF record?

Definition

An SPF record is a DNS TXT record on your domain that lists the mail servers and services authorized to send email on that domain's behalf.

SPF stands for Sender Policy Framework. When a receiving server gets an email, it looks up the SPF record of the domain in the envelope sender (the technical return-path address, which is often but not always the same as the visible From address) and checks whether the sending server is on the list. If it is, SPF passes. If not, the result is a fail or softfail, which counts against the message.

For freelancers and small agencies, SPF is one of three basic authentication records, alongside DKIM and DMARC. Without them, cold emails are far more likely to land in spam, and major mailbox providers now expect senders to authenticate.

Illustrative SPF record for a domain using Google Workspace
Type: TXT Host: @ Value: v=spf1 include:_spf.google.com ~all

In that example, v=spf1 marks it as an SPF record, include: authorizes Google's mail servers, and ~all tells receivers to treat mail from anywhere else as a softfail. A stricter -all means hard fail. Your email provider's help docs give the exact include value to use.

  • Only one SPF record per domain. Two separate SPF TXT records cause SPF to fail. Merge them into one.
  • Add every service that sends as you: your mailbox provider, plus any outreach tool, newsletter tool or invoicing system that sends from your domain.
  • Watch the lookup limit: SPF allows a maximum of 10 DNS lookups. Too many includes break it.
  • SPF alone is not enough: it does not cover forwarded mail well and does not protect the visible From address without DMARC alignment.
Tip

After editing DNS, wait for it to propagate, then send a test to a Gmail address and use "Show original" to confirm SPF: PASS. Check again whenever you add a new sending tool.

Example

A fictional copywriter adds a cold outreach tool but forgets to update SPF. Her test emails show SPF softfail. She adds the tool's include to her existing record, keeping a single SPF record, and the next test passes.

Find companies that need you right now

Describe what you sell and who you want to work with. FindMyClients searches the live web for companies showing a current need, scores fit and drafts your first message. Free, no signup.

Run a free search →