Topic · Authentication
SPF hardfail
SPF hardfail is the fail result usually signaled by the -all mechanism for an unauthorized sender IP.
Email Security Glossary·Practical guidance
01 / How it works
How it works
After earlier mechanisms fail to match, -all communicates that the connecting host is not authorized by that SPF domain.
02 / What can go wrong
What can go wrong
Treating -all as DMARC enforcement is incorrect; SPF can fail while a different aligned DKIM signature passes DMARC.
03 / What to check or do
What to check or do
Use -all only after sender inventory is complete and confirm DMARC alignment separately.
Practical diagnosis
How to investigate SPF hardfail
- Signal to investigate
- A -all result says the connecting IP is not authorized by that SPF policy.
- Evidence to collect
- Inspect the actual MAIL FROM or HELO identity and compare it against the connecting IP.
- Common wrong conclusion
- SPF fail alone does not conclusively establish spoofing of the visible Header From domain.
NEXT STEP
Put this into practice
Run a focused check, then explore protection if your domain needs it.