What SPF records do
SPF (Sender Policy Framework) is a TXT record starting with v=spf1. Receiving servers compare the sending IP against mechanisms like include:, mx, and ip4: before accepting mail.
A missing or broken SPF record increases spam folder risk and DMARC failures.
Reading SPF checker output
MailGX shows the raw record, softfail vs fail qualifier on all, estimated DNS lookup count, and parsed mechanisms. +all is flagged as too permissive.
Pair SPF with MX SPF DMARC check and our email DNS checker for alignment before enabling strict DMARC.
SPF flattening tip
If lookup count exceeds 10, consolidate include: chains or use a dedicated SPF flattening service. Re-run the SPF checker after changes.
Frequently asked questions
Where is SPF published?
As a TXT record on the root domain (example.com), not on mail subdomains.
Is ~all or -all better?
-all is strictest. ~all is common for gradual rollouts.
Can I have two SPF records?
No. Multiple SPF TXT records cause PermError — merge into one.
