Reading a bounce message
Updated
A bounce, also called a non-delivery report, is the message a mail system sends back when it could not deliver an email. It looks alarming, but it is usually precise: it says which server refused the message and gives a code and a few words about why. Reading those two things tells you whether to fix something, wait, or contact someone.
What does the code mean?
Most bounces carry two codes. The first is the three-digit SMTP reply, such as 550. The second is an enhanced status code of three numbers, such as 5.1.1. Read the enhanced code from left to right: the class, the subject and the detail.
- Class: 2 means success, 4 means a temporary problem and 5 means a permanent failure
- Subject: which area the problem is in. 1 is the address, 2 the mailbox, 3 the mail system, 4 the network, 5 the protocol, 6 the content and 7 security or policy
- Detail: the specific condition. 5.1.1 is a mailbox that does not exist, 5.2.2 is a full mailbox and 5.7.1 is a refusal by policy
550 5.1.1 The email account that you tried to reach does not exist
Is the failure temporary or permanent?
A code starting with 4 means the receiving side could not take the message right now. The sending server usually keeps trying for hours or days, and often the message arrives without anyone doing anything. A code starting with 5 means the message was refused, and sending it again unchanged will fail the same way. Until the sending server gives up on a temporary problem you may see a delay notice, which is a warning and not a failure.
Which codes are the most common?
- 5.1.1 or 5.1.10: the recipient address does not exist, most often a typo or someone who has left
- 5.2.2: the recipient's mailbox is full
- 5.7.1: refused by policy, which can mean a blocked sender, a spam judgement or a rule set by the recipient's administrator
- 5.7.23 to 5.7.26: the message failed authentication, such as SPF or the sending domain's DMARC policy
- 5.7.520 (Exchange Online): an automatic forward to an address outside the organization was blocked
- 4.4.1, 4.4.7 and 4.7.0: temporary problems reaching the recipient's server or being slowed down
What should I try next?
- Read the server's own words in the report. They are the best evidence, and often name the exact reason
- For an address problem, check the address for typos and ask the person for their current one
- For a full mailbox or a temporary problem, wait and try again, or contact the person another way
- For a policy or authentication refusal, ask whoever runs your email or domain to look at it, and check SPF, DKIM and DMARC with the email authentication checker
- If you run the mail system, look at the logs on the server that produced the report
Good to know. A code often has several possible causes, and a bounce tells you what the receiving server said, not always why it decided that. When the code and the server's words seem to disagree, trust the words.
Where are the codes defined?
The enhanced status codes are defined in RFC 3463, with the authentication codes added in RFC 7372, and the three-digit replies in RFC 5321. Large providers add codes of their own and document them: Microsoft for Exchange Online and Google for Gmail.
Related
- Email headers: what they are and how to find themThe hidden lines at the top of every email that show who sent it, the servers it passed through and whether it passed its checks.
- SPF: who may send mail for a domainHow an SPF record lists the servers allowed to send email for a domain, and the mistakes that break it.
- DMARC: policy and reportsHow DMARC ties SPF and DKIM to the visible From address, tells receivers what to do with failures, and sends you reports.
- Why a message gets flagged as spam or phishingThe things mail filters commonly react to, from failed sender checks to links that hide where they go, and which to fix first.