SPF check
SPF is the list of servers allowed to send email for your domain. bigWUF reads it, follows every entry, counts the lookups and tells you in plain words whether it works.
What can go wrong
If your list of allowed senders is missing or broken, mail servers can't tell your real emails from fakes. Fakes get through more easily, and your own invoices can end up in your clients' spam.
What SPF does
SPF is a line in your domain's settings that lists the servers allowed to send email for you: your mailbox provider (such as Microsoft 365 or Google Workspace), your newsletter tool, your invoicing software. It starts with v=spf1, names those services with include: entries, and ends with a rule for everyone else (-all or ~all).
The mistakes that break it
Two lists instead of one: mail servers ignore both. A list that points to too many other lists (more than 10 DNS lookups): it stops working for every email, real ones included. A rule that lets everyone send (+all), or one that says nothing about strangers (?all, or no rule at all).
-all or ~all?
-all refuses servers that aren't on the list; ~all marks them as suspicious. With DMARC in place both work, and -all is stricter. What matters more is that the list is valid and that DMARC blocks fakes or sends them to spam.
Questions owners ask
How many DNS lookups can SPF have?
Ten. Each include, a, mx, exists and redirect counts, including the ones inside included records. Above ten, SPF returns an error and your emails can fail DMARC.
Can I have two SPF records?
No. Merge them into one record that lists all your senders.
My domain doesn't send email. Do I need SPF?
Yes: publish v=spf1 -all. It tells everyone that no server may send email for this domain, which stops it being used for fakes. Add DMARC with p=reject as well.
Is SPF enough to stop spoofing?
No. SPF checks the hidden return address, not the From address people see. DMARC connects the two, so you need DMARC too.
More free tools
Check everything at once: the free bigWUF check looks at email, servers, lookalikes and more in about a minute. Check your domain