SMTP error codes: what 550, 421 and 451 mean

Each step of an SMTP conversation ends with a three-digit code from the receiving server. The first digit tells you almost everything:
- 2xx: done.
- 3xx: continue, send the next part.
- 4xx: temporary failure, try again later. This gives a soft bounce if it never clears.
- 5xx: permanent failure, do not retry as it is. This gives a hard bounce.
The codes you will meet
| Code | Meaning | Whose problem | What to do |
|---|---|---|---|
| 250 | Accepted | Nobody's | Nothing. The server took the message |
| 421 | Service not available, try later | Receiver, or your volume | Wait. Your server retries |
| 450 | Mailbox unavailable for now | Often greylisting | Wait, it usually clears within the hour |
| 451 | Local error while processing | Receiver, or a rate limit | Wait. If it persists, read the text |
| 452 | Insufficient storage or too many recipients | Receiver | Split the recipients, or try later |
| 550 | Mailbox unavailable, or refused by policy | Depends, read the text | See below |
| 551 | User not local | Sender | Use the address the server suggests |
| 552 | Storage exceeded or message too large | Recipient | Send a smaller message or a link |
| 553 | Address not allowed | Sender | Check the spelling of the address |
| 554 | Transaction failed | Often policy | Read the text, usually spam or a block |
Read the text, not only the number
The same 550 can mean "this person does not exist" or "your server is blocked", and those have nothing in common. The enhanced code that follows, in the form 5.x.x, narrows it down.
| Enhanced code | Meaning |
|---|---|
5.1.1 |
The address does not exist |
5.1.2 |
The domain does not exist or has no mail server |
5.2.2 |
Mailbox full |
5.7.1 |
Refused by policy: reputation, content or permissions |
5.7.26 |
Gmail: unauthenticated, SPF and DKIM both failing or absent |
4.7.28 |
Gmail: unusual rate from your IP, slow down |
Two errors worth knowing
550 5.7.1 from Microsoft. Outlook and Hotmail often add a reference such as S3150, which says your sending IP is blocked. The notice includes a link to its delisting form. See how blacklists work.
451 on a first attempt. Greylisting is a server's habit of refusing a stranger once, on purpose. Real servers retry and get through a few minutes later. Spam tools often do not. Do nothing.
Frequently asked questions
Should I retry a 550 error?
Not without changing something. Repeating a message the server refused permanently damages your reputation. Fix the address or the reason first.
Why did my mail get 250 and still not arrive?
250 only means the next server took responsibility. It can still file the message in spam, or a later forward can fail. No code tells you that a person read it.
Where do I find the code?
In the bounce message, on the Diagnostic-Code line. In your server's mail log it appears on the delivery line, next to the recipient.
What does "550 Internal Error" mean when sending through my own server?
Any server can write what it likes after the code. When the text gives no reason, the sender's own logs are the only way to find out.
Smailor keeps the receiving server's answer for each message you send, and explains the frequent ones in plain language next to the message.