Email DNS Check

Guides › SPF

SPF ~all vs -all: softfail or hardfail?

EndingResult for unlisted sendersUse?
-allFailGood for domains with fully known senders, and for non-sending domains (v=spf1 -all).
~allSoftfailThe usual choice when you also have DMARC.
?allNeutralNo protection. Avoid.
+allPassNever. It authorises everyone.

Why ~all is often fine

With DMARC in place, the DMARC policy decides what happens to failing mail, not the SPF qualifier. Some receivers reject on -all during the SMTP transaction before checking DKIM, which can break legitimately forwarded mail. Many deliverability teams therefore pair ~all with p=reject. Either is acceptable. What matters most is having DMARC.

Check your domain now

Related

What is an SPF record? A plain-English guideSPF 10 DNS lookup limit: how to fix 'too many lookups'Multiple SPF records: how to merge them into one

More free tools from Swift Labs

Robots & Sitemap Checker
Validate robots.txt and XML sitemaps, test any path, see which AI crawlers you block.
OG Preview Tool
Preview links on Facebook, LinkedIn, X and Slack, and audit Open Graph tags.
DeadLinkPatrol
Find broken links across your whole site.