An SPF record is the list your domain publishes of the services allowed to send email in your name. Other companies’ email systems read it when a message from you arrives. Our domain check reports “At risk” under “Will your emails reach people’s inboxes?” when the list is missing, and also when there are two.
With no record
Without a list, a receiving system has nothing to check your email against. Each one then decides for itself, and the cautious ones file unverified email as junk.
The large providers have become stricter. Since February 2024 Google has required every sender to personal Gmail addresses to have either this record or signed email, whatever the size of the sender. A domain with neither fails that rule.
With two records
This one surprises people, because it usually comes from doing the right thing twice. The business sets up Microsoft 365 and adds a record. Later someone sets up a newsletter tool, follows its instructions and adds a second record alongside the first.
The standard allows one. A receiving system that finds two does not pick the better one or combine them. It reports a permanent error, and the result is as if you had none.
What a correct record looks like
It is a single TXT entry on your domain beginning v=spf1, naming each service that sends for you and ending with what to do about everyone else.
For a business whose only sender is Microsoft 365:
v=spf1 include:spf.protection.outlook.com -all
For one that only uses Google Workspace:
v=spf1 include:_spf.google.com ~all
Those are the records Microsoft and Google publish for a business that sends from nowhere else, and each ends the way its provider recommends. Very few businesses send from nowhere else. Each further service that sends as you adds one include, taken from that service’s own help pages, inside the same record.
The ending matters. -all tells receivers that anything not on the list is not you. ~all says the same more gently, and is the sensible choice while you are still finding out what sends in your name. ?all offers no opinion, which makes the record nearly useless. +all approves every server in the world and should never be used.
Merging two into one
Take the entries from both records and put them in one, with a single v=spf1 at the start and a single ending. Two records like these:
v=spf1 include:spf.protection.outlook.com -all
v=spf1 include:servers.mcsv.net ~all
become:
v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net ~all
Then delete both originals. Leaving one behind alongside the new record puts you back where you started.
Two things to check while you are there
The first is who else sends as you. Before choosing -all, be sure the list is complete: the accounts system, the website’s contact form and any scanner or device that emails. Anything left off is treated as a forgery.
The second is the length of the list. It may cause no more than 10 lookups, counted across every service it names, and a merged record is exactly where businesses go over. We cover that in SPF and the 10 lookup limit.
SPF is half the job
A correct record helps your email arrive. It does not stop someone forging your address, because the check it supports looks at a part of the message your reader never sees. Stopping forgeries takes signed email and a DMARC policy as well, which we cover in DMARC p=none: what it means and what next.
How we do it for clients
We find everything that sends email in your name, write one correct record and confirm it with a real message from each sender. Your results page has a button to ask us, and it sends the record we found along with the request.