5.7.24 means the sender’s SPF record could not be evaluated — it is broken, needs too many DNS lookups, or its DNS failed. Gmail uses it for an SPF record with “suspicious entries”.
| Code | 5.7.24 |
| Meaning | SPF validation error |
| Kind | Permanent failure — the sender gives up |
| Sent in reply to | With 550 — or 451, temporarily |
| What the sender does | Returns the message — or, as 4.7.24, retries |
| Defined in | RFC 7372 |
Paste your bounce
Paste the line with the code — or the whole bounce: we explain each code in it, say whether the sender will try again, and link the service’s own page where it has one. It is read in your browser; nothing is sent.
What to do
- Check the SPF record: one record only, valid syntax, no more than ten DNS lookups.
What each provider means by it
| Who | What they say |
|---|---|
| Gmail | 550 5.7.24 The SPF record of the sending domain has one or more suspicious entries; 451 4.7.24 while temporarily rate limiting. |
Bounces with this code
Sources
Checked on 27 September 2026 against these official sources:
- Simple Mail Transfer Protocol (SMTP) Enhanced Status Codes Registry — iana.org
- RFC 7208: Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1 — rfc-editor.org
- Gmail SMTP errors and codes — knowledge.workspace.google.com