How is a bounce code built?
A bounce message usually carries two numbers. They look like this:
550 5.1.1 The email account that you tried to reach does not exist.
^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| | free text from the receiving server
| enhanced status code: class.subject.detail
SMTP reply code
- The reply code comes from RFC 5321. The first digit sets the severity.
4yzis a temporary failure: the request may be repeated.5yzis permanent: the sender should not repeat the exact request. - The enhanced status code comes from RFC 3463. Class 4 is a persistent transient failure and class 5 a permanent failure. The middle number is the subject: 1 addressing, 2 mailbox, 3 mail system, 4 network and routing, 5 mail delivery protocol, 6 message content or media, 7 security or policy. The last number is the detail.
- The text is free-form and differs by provider. It often names the real cause, so read it before you act.
For the short version and what bounce_explain does with a code, see why did my email bounce. This page is the full reference.
What do the SMTP reply codes mean?
| Code | Meaning (RFC 5321) | Hard or soft | What to do |
|---|---|---|---|
| 421 | Service not available, closing the transmission channel | Soft | Retry later. If it repeats, read the text: Gmail uses 421 for rate limits and authentication warnings |
| 450 | Requested mail action not taken: mailbox unavailable, for example busy or temporarily blocked | Soft | Retry with a delay |
| 451 | Requested action aborted: local error in processing | Soft | Retry. If it repeats, read the text. Gmail uses 451 for PTR and SPF warnings |
| 452 | Requested action not taken: insufficient system storage | Soft | Retry. For a full mailbox, wait for the recipient to free space |
| 550 | Requested action not taken: mailbox unavailable, such as mailbox not found or a policy rejection | Hard | Read the enhanced code. 5.1.1 means fix or drop the address. 5.7.x means a policy refused you |
| 551 | User not local, with a forward path to try | Hard | Do not resend as is. Use the new address only if you trust it |
| 552 | Requested mail action aborted: exceeded storage allocation | Hard | Check the text. It can mean a full mailbox or a message that is too large |
| 553 | Requested action not taken: mailbox name not allowed | Hard | Fix the address syntax or the domain spelling |
| 554 | Transaction failed | Hard | Catch-all refusal. Check authentication, content and reputation |
The hard and soft labels follow the first digit. A 4xx that never clears should be treated as permanent. Cloudflare does the same for recipient problems that persist across repeated attempts.
What do the enhanced status codes mean?
| Code | Meaning | Hard or soft | What to do |
|---|---|---|---|
| 5.1.1 | Bad destination mailbox address: the mailbox does not exist | Hard | Check for typos, then suppress |
| 5.1.2 | Bad destination system address: the domain does not exist or cannot accept mail | Hard | Check the domain spelling, then suppress |
| 5.2.1 | Mailbox disabled, not accepting messages. RFC 3463 allows it as permanent or transient | Hard in practice | Stop sending. Reach the person another way |
| 4.2.2 | Mailbox full: a quota or capacity limit | Soft | Retry. Stop if it persists across several sends |
| 5.3.4 | Message too big for the system | Hard | Shrink the message or the attachments, then resend |
| 4.4.1 | No answer from host. It is only used as a transient error | Soft | Retry |
| 5.5.1 | Invalid command: out of sequence or unsupported | Hard | A bug in the sending client. Fix the SMTP conversation |
| 5.7.1 | Delivery not authorized, message refused | Hard | Read the text. Usually a policy, spam or sender problem, not the address |
| 5.7.25 | Reverse DNS validation failed (RFC 7372) | Hard | Fix the PTR record of the sending IP |
| 5.7.26 | Multiple authentication checks failed (RFC 7372). Gmail uses it for an unauthenticated sender | Hard | Fix SPF, DKIM and DMARC for the sending domain |
| 5.7.515 | Outlook.com: the sending domain does not meet the required authentication level | Hard | Fix SPF, DKIM and DMARC. See the sender requirements |
A 4.x.x status is temporary and a 5.x.x status is permanent. 5.7.25 and 5.7.26 come from RFC 7372, and Microsoft defines 5.7.515. RFC 3463 does not list them.
What does Gmail say for each code?
Gmail documents its own message texts. These are the patterns you see most. Gmail's real messages are longer and end in a link, so match on the start.
| Code | Text starts with | Meaning | What to do |
|---|---|---|---|
| 550 5.1.1 | The email account that you tried to reach does not exist | No such mailbox | Check typos and stray spaces, then suppress |
| 550 5.2.1 | The email account that you tried to reach is inactive | Account disabled | Stop sending, contact the person another way |
| 452 4.2.2 | The recipient's inbox is out of storage space | Temporary: inbox full | Retry later |
| 552 5.2.2 | The recipient's inbox is out of storage space and inactive | Permanent: inbox full and account inactive | Stop sending |
| 552 5.3.4 | Your message exceeded Google's message size limits | Message too large | Reduce size or attachments |
| 553 5.1.2 | We weren't able to find the recipient domain | Domain does not resolve | Check the spelling of the domain |
| 550 5.7.1 | This message is likely unsolicited email | Blocked as spam | Review content, list and complaint rate |
| 550 5.7.26 | This email has been blocked because the sender is unauthenticated | Neither SPF nor DKIM passed | Set up at least one, then DMARC |
| 550 5.7.26 | Unauthenticated email from the domain is not accepted due to the domain's DMARC policy | Your DMARC policy rejected the mail | Fix the authentication of the system that sent it |
| 421 4.7.28 | Gmail has detected an unusual rate of unsolicited mail | Rate limited on volume or spam signals | Slow down, clean your list |
| 421 4.7.0 | very low reputation of the sending IP address | Mail is rate limited | Improve sending practices and list hygiene |
Google lists dozens more, including 5.7.27 for SPF, 5.7.30 for DKIM, 5.7.40 for DMARC and 5.7.29 for TLS. Those are the rules in the Gmail and Yahoo checklist.
When should I suppress an address, and when should I retry?
RFC 5321 sets the retry rules for sending servers. The retry interval should be at least 30 minutes. The give-up time generally needs to be at least 4 to 5 days. After a 5yz reply, the client should not repeat the exact request.
| Situation | Action |
|---|---|
| 5.1.1, 5.1.2 or 5.2.1 on the recipient's side | Suppress. The address is dead |
| Spam complaint | Suppress and keep it suppressed until the person opts in again |
| 4xx: full mailbox, busy server, greylisting | Retry with backoff. Suppress only if it persists across repeated attempts |
| 5.3.4 message too large | Do not suppress. Shrink the message and resend |
| 5.7.x about authentication, PTR or reputation | Do not suppress. The problem is your sending domain. Fix it, then resend |
The last row is advice, not an RFC rule. Suppressing an address after a policy bounce hides your own problem and removes a working recipient.
Cloudflare Email Sending follows the same split. It never retries hard bounces and retries soft bounces with exponential backoff. Its suppression list holds recipient-side bounces and complaints for a set time:
| Cause | Suppressed for |
|---|---|
| Hard bounce: mailbox or domain does not exist, or the problem persists across repeated attempts | No expiration |
| Hard bounce, other eligible cases | 7 days |
| Soft bounce, such as a full mailbox or rate limit | 24 hours |
| Spam complaint | No expiration |
Cloudflare suggests removing a complaint suppression only after the recipient opts in again through your app. Cloudflare's own target for a hard bounce rate is below 2%.
How do I find the cause fast?
Read the enhanced code first, then the text, then check the one thing it points to: the address, the message size, or your domain's records. If you send through an agent, sendmcp is a free, MIT-licensed Worker on your own Cloudflare account. It stores each bounce in D1 with the raw SMTP response, keeps a suppression list, and its bounce_explain tool turns a code into the cause and the fix. The tools are listed on the bounce page.
Sources
- RFC 5321: Simple Mail Transfer Protocol checked
- RFC 3463: Enhanced Mail System Status Codes checked
- RFC 7372: Email Authentication Status Codes checked
- Google: Gmail SMTP errors and codes checked
- Microsoft: Outlook's new requirements for high-volume senders (550 5.7.515) checked
- Cloudflare: Email Service deliverability checked
- Cloudflare: Email Service suppressions checked