Use ~all when
You are still finding senders, forward mail, or rely on DMARC and DKIM to enforce.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
Softfail (~all) tells receivers a sender is probably not authorized and should not be rejected on that alone, while hardfail (-all) states it is not authorized. Google recommends ~all for Workspace domains, and Microsoft shows -all in its example.
| Ending | Result name | Meaning in RFC 7208 | Typical use |
|---|---|---|---|
| -all | fail | The host is not authorized | Mature setups with every sender known |
| ~all | softfail | Weak statement that the host is probably not authorized | Rollout and Google Workspace default advice |
| ?all | neutral | No assertion | Testing only |
| +all | pass | Everyone is authorized | Never use |
Source: RFC 7208, sections 2.6 and 8.
You are still finding senders, forward mail, or rely on DMARC and DKIM to enforce.
You have audited every sender and want an explicit unauthorized signal, or the domain never sends mail.
Forwarders change the sending IP, so SPF fails at the next hop. DKIM survives forwarding when the signed content is untouched.
example.org. IN TXT "v=spf1 -all"
; a domain that sends no mail at allThe qualifier is only a statement. In the received message, open Authentication-Results and read spf=softfail or spf=fail to see what the receiver concluded and what it did.
Confirm every known sender is listed and test with real messages.
Look for legitimate sources that fail SPF, such as forgotten tools or forwarders.
Only if you control every sender and DKIM covers forwarded mail.
A new service without an SPF entry will now fail outright.
RFC 7208 says receivers should not reject on softfail alone. Many accept and mark the message.
Receivers may reject at SMTP time, but the RFC leaves the decision to local policy.
The DMARC policy you publish decides the action when neither SPF nor DKIM aligns.
No. Softfail means the publisher weakly asserts the host is probably unauthorized, and RFC 7208 says receivers should not reject on that result alone. A hard fail is a firm assertion that the host is not authorized.
Google recommends ~all for Workspace, while Microsoft shows -all in its Microsoft 365 example. Pick -all once you are sure every sender is listed. Pair either with DKIM and a DMARC policy.
Common causes are an unlisted sending service, mail forwarded through another server, a second SPF record causing permerror, or more than 10 lookups. Check the sending IP in the headers against the record.
No. Receivers apply their own policy. Many combine SPF with DKIM and DMARC and may deliver or junk a message regardless of the qualifier.
The sending IP did not match the record and the record ended in ~all. The message is not authenticated by SPF, but receivers are told not to reject on that alone. Check which IP sent it.
It is a stronger statement, but protection mostly comes from receivers acting on a DMARC policy. A domain with DKIM, p=reject and ~all is better protected than one with -all and no DMARC.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.