Help · Email and spam
SPF ~all vs -all: softfail or fail?
Direct answerDNSFix help, reviewed 2026-11-12The answer in one or two sentences. The steps below show how to do it. Our editorial policy says how we write and check these pages. Learn more
-all says email from anyone not listed fails SPF; ~all says it soft-fails (suspicious). With DMARC in place, either is fine; -all is stricter, ~all is gentler with forwarded email.
At a glance
The key facts on this page, in plain words. Our editorial policy says how we check them.- What we found: 3 key facts.
- -all
- Fail Servers not in your SPF record fail.
- ~all
- Softfail Servers not listed are marked suspicious, not failed.
- ?all or +all
- Avoid Neutral or allow-everyone gives no protection.
What the endings mean
The last part of an SPF record says what happens to email from servers that aren't listed (the SPF standard, RFC 7208):
-all: fail. The receiver may reject the email.~all: softfail. The receiver should accept it but treat it as suspicious.?all: neutral, no opinion.+all: allow everyone. Neither protects you.
Which to choose
- You have DMARC: DMARC decides what happens to failing email, so ~all and -all usually end the same way. Many senders keep ~all because some receivers reject a -all failure straight away, before checking DKIM, which can drop forwarded email that DKIM would have saved.
- You have no DMARC yet: -all gives clearer protection, but add DMARC: it's what the big inboxes look for.
- A domain that never sends email: use
v=spf1 -alltogether with a DMARC reject record.
Before you switch to -all
List every service that sends as you. A forgotten one will fail.
Stop it happening againDNSFix can check your domain on a schedule and email you when something changes.
DNSFix Pro checks your domain every 4 hours and emails you the step-by-step fix soon after we spot a problem. From $19 a month.Questions
Does ~all hurt my deliverability?
No. Your own email passes SPF either way. The ending only affects servers you didn't list.
Is -all more secure?
Slightly, without DMARC. With DMARC at reject, the DMARC policy does the blocking.
Related
- How to set up SPF (with examples)
- Multiple SPF records found
- How to set up DMARC: p=none, quarantine and reject
- SPF PermError: too many DNS lookups
Product names belong to their owners. DNSFix isn't affiliated with them.