How to fix SPF softfail: domain does not designate IP as permitted
You see this in a message header:
Received-SPF: softfail (google.com: domain of transitioning [email protected]
does not designate 203.0.113.25 as permitted sender)
It means the sending server’s IP address is not in your SPF record, and your record ends with ~all.
The “soft” part: receivers are told to be suspicious but not necessarily reject the message.
Why it happens
- A new service sends as your domain and was never added to SPF (CRM, helpdesk, newsletter, invoicing).
- The provider’s IP ranges changed and your record is a hand-made flattened list that is now out of date.
- Forwarding. When a mailbox forwards a message, the forwarder’s IP is not in your SPF, so SPF breaks even though the original mail was fine. This one is expected. DKIM survives forwarding, which is why you need it.
- Your own server sends mail (a website contact form, a script) and its IP is missing.
- Wrong domain evaluated. SPF is checked against the envelope sender (
smtp.mailfrom), not the visibleFrom:. If a vendor uses its own bounce domain, SPF is checked against theirs.
Find the sender
Look at the IP in the message (the text after “does not designate”) and find out who owns it:
whois 203.0.113.25
or check the Received: headers (guide).
Fix it
- Legitimate service: add its
include:(orip4:) to your one SPF record, before the~all. The guides for Cloudflare, GoDaddy and Namecheap show where to edit it. - Unknown sender: it may be someone spoofing you. Leave it out, and use DMARC to tell receivers what to do about it.
- Forwarding: nothing to change in SPF. Make sure DKIM signs your mail.
Stay within the limit of 10 DNS lookups. See how to fix SPF PermError.
Should you switch to -all?
-all (hard fail) is stricter, but only use it when every legitimate sender is listed, and rely on DMARC alignment for
the real enforcement. A softfail with DKIM passing still gives dmarc=pass.