What does “5.7.23 The message was rejected because of Sender Policy Framework violation” mean?
The receiving server checked your SPF record and the sending server failed it.
Last read from the sources at the foot of this page.
The message was rejected because of Sender Policy Framework violation
What does it mean?
The receiving system uses SPF to decide what to accept, and your record did not list the server that sent this message, or could not be read.
What exactly does the source say?
5.7.23 The message was rejected because of Sender Policy Framework violation The destination email system uses SPF to validate inbound mail, and an issue affects your SPF configuration.
Why would a small firm see it?
A missing service in the record, two SPF records, or more than 10 lookups.
How do I fix it?
- List every service that sends mail as your domain: your mailboxes, your invoicing or accounting tool, your booking system, your newsletter tool, your website's contact form.
- Find each service's SPF include in its own help pages.
- Send yourself a message through the service and open its headers.Look for spf=pass.
Keep one SPF record. Add the service inside the one record you have, before its last word, and keep every service already in it. A second SPF record makes the check fail for every message.
An SPF record may make at most 10 DNS lookups. Each include counts, and so do the includes inside it. Past 10 the check fails, so take out services you no longer use before adding a new one.
Where does this come from?
- Microsoft: Email non-delivery reports and SMTP errors in Exchange Onlinelearn.microsoft.comRead 14 October 2026
See what is open before anyone else does.
We read from outside, find each way in first, and show it with a check anyone can re-run. No access, nothing tested, no obligation.
- We read your firm from outside.
- You see what is open, with the proof for the lead finding.
- If it is worth it, you order.
What happens if you go ahead. More at getleaktrace.com/see-it-first/.
Read the transcript
- 72 hours. One domain. Nothing to install.
- Discover. Every way in, found from outside.
- Validate. Every finding, proven. Dated and checkable by anyone.
- Close. Forged email: one click per step, where we reach your DNS host and you approve it.
- You get the fix for the rest, step by step, and we re-check until it is closed.
- Monitor. On monitoring: email settings, look-alikes and new host names re-checked every hour. Alerts within the hour.
- Every paid assessment is human-verified before release.
- The AI defense layer for businesses. getleaktrace.com/see-it-first/