Bouncewise

Bouncewise › Guides › SMTP bounce codes: the full list with what to do for each

Email delivery guide

SMTP bounce codes: the full list with what to do for each

Updated · 7 min read

Short answer

A bounce has two codes: a three-digit SMTP reply (RFC 5321) and an enhanced status code (RFC 3463) such as 5.1.1. The first digit decides what to do: 4 means temporary, so retry; 5 means permanent, so stop and fix something. The enhanced code says what: x.1.x is the address, x.2.x the mailbox, x.4.x routing, x.7.x security or policy.

How to read a bounce line

Take a typical line: 550 5.1.1 The email account that you tried to reach does not exist.

  • 550 is the basic SMTP reply. The first digit is the class: 2 success, 4 transient failure, 5 permanent failure.
  • 5.1.1 is the enhanced status code: class.subject.detail. Subject 1 is addressing, detail 1 is Bad destination mailbox address.
  • The rest is free text from the receiving server. It is not standardised, and it often matters most.

Subjects in RFC 3463: X.0 other, X.1 addressing, X.2 mailbox, X.3 mail system, X.4 network and routing, X.5 mail delivery protocol, X.6 message content or media, X.7 security or policy. As a rule of thumb, x.1 and x.2 problems are about the recipient; x.7 problems are about you.

Bounce detail with the SMTP reply 550 5.1.1 and the receiving server's message text
The basic code, the enhanced code and the server's own text.

SMTP reply codes (RFC 5321)

Texts are as RFC 5321 section 4.2.3 gives them. Servers may send their own wording with the same code.

CodeRFC 5321 textTypeWhat to do
421<domain> Service not available, closing transmission channelTemporaryServer busy or limiting you. Retry later; if it persists at one provider, check reputation.
450Requested mail action not taken: mailbox unavailable (e.g., mailbox busy or temporarily blocked for policy reasons)TemporaryRetry. Often greylisting or a temporary policy block.
451Requested action aborted: local error in processingTemporaryReceiver-side problem. Retry.
452Requested action not taken: insufficient system storageTemporaryReceiver out of space, or too many recipients in one transaction. Retry.
455Server unable to accommodate parametersTemporaryRetry; check MAIL FROM / RCPT TO extensions.
500Syntax error, command unrecognizedPermanentSending software problem, not the address.
501Syntax error in parameters or argumentsPermanentOften a malformed address. Check the address syntax.
502Command not implementedPermanentClient/server mismatch. Not a recipient issue.
503Bad sequence of commandsPermanentClient problem, or authentication required first.
504Command parameter not implementedPermanentClient problem.
550Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)PermanentRead the enhanced code: 5.1.1 = no such user; 5.7.x = policy or authentication.
551User not local; please try <forward-path>PermanentAddress has moved. Get the new one.
552Requested mail action aborted: exceeded storage allocationPermanentMailbox full or message too big. Check size; treat a long-full mailbox as dead.
553Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)PermanentInvalid address syntax. Fix the address.
554Transaction failed (Or, in the case of a connection-opening response, "No SMTP service here")PermanentOften a spam or policy rejection. Read the text.
555MAIL FROM/RCPT TO parameters not recognized or not implementedPermanentClient problem.

RFC 5321 says a client should retry 4xx replies and should not repeat a 5xx request unchanged. It suggests waiting at least 30 minutes between retries and a give-up time of at least 4 to 5 days; providers usually give up sooner and report the message as failed.

Enhanced status codes (RFC 3463)

Replace X with 4 (temporary) or 5 (permanent); 2 means success. Titles are from RFC 3463.

CodeMeaningWhat to do
X.0.0Other undefined StatusRead the text; the server gave no detail.
X.1.0Other address statusAddress problem; check the address.
X.1.1Bad destination mailbox addressMailbox does not exist. Suppress; ask for a corrected address.
X.1.2Bad destination system addressDomain does not accept mail (typo, expired domain).
X.1.3Bad destination mailbox address syntaxMalformed address. Validate on input.
X.1.4Destination mailbox address ambiguousReceiver matched more than one mailbox.
X.1.5Destination address validInformational (used with 2.x.x).
X.1.6Destination mailbox has moved, No forwarding addressAddress is gone. Remove it.
X.1.7Bad sender's mailbox address syntaxYour From/envelope sender is malformed.
X.1.8Bad sender's system addressYour sending domain cannot be resolved or accept replies.
X.2.0Other or undefined mailbox statusMailbox issue; read the text.
X.2.1Mailbox disabled, not accepting messagesAccount suspended or inactive. Treat 5.2.1 as hard.
X.2.2Mailbox fullRetry 4.2.2; a 5.2.2 usually means long-term full.
X.2.3Message length exceeds administrative limitMake the message smaller (attachments).
X.2.4Mailing list expansion problemProblem at a list the recipient address belongs to.
X.3.0Other or undefined mail system statusReceiver-side issue.
X.3.1Mail system fullReceiver out of storage. Retry.
X.3.2System not accepting network messagesReceiver shutting down or refusing. Retry.
X.3.3System not capable of selected featuresReceiver lacks a feature the message needs.
X.3.4Message too big for systemReduce message size.
X.3.5System incorrectly configuredReceiver misconfiguration. Contact their admin if it persists.
X.4.0Other or undefined network or routing statusRouting problem; retry.
X.4.1No answer from hostReceiver unreachable. Retry.
X.4.2Bad connectionConnection dropped. Retry.
X.4.3Directory server failureReceiver's lookup failed (often DNS). Retry.
X.4.4Unable to routeNo usable MX or A record for the domain.
X.4.5Mail system congestionReceiver overloaded. Retry later.
X.4.6Routing loop detectedForwarding loop at the receiver.
X.4.7Delivery time expiredRetries gave up. Message was never delivered.
X.5.0Other or undefined protocol statusProtocol problem.
X.5.1Invalid commandClient sent an unknown command.
X.5.2Syntax errorClient sent a malformed command.
X.5.3Too many recipientsSplit the recipient list.
X.5.4Invalid command argumentsBad parameters, often an address.
X.5.5Wrong protocol versionProtocol mismatch.
X.6.0Other or undefined media errorContent could not be handled.
X.6.1Media not supportedContent type rejected.
X.6.2Conversion required and prohibitedMessage needs conversion it may not have.
X.6.3Conversion required but not supportedReceiver cannot convert the content.
X.6.4Conversion with loss performedDelivered, but content was changed.
X.6.5Conversion FailedContent conversion failed.
X.7.0Other or undefined security statusPolicy or reputation block. Read the text.
X.7.1Delivery not authorized, message refusedBlocked by policy, blocklist or content filter. Not an address problem.
X.7.2Mailing list expansion prohibitedYou may not send to that list.
X.7.3Security conversion required but not possibleEncryption or signing requirement not met.
X.7.4Security features not supportedReceiver cannot handle required security.
X.7.5Cryptographic failureSignature or encryption failure.
X.7.6Cryptographic algorithm not supportedUnsupported algorithm.
X.7.7Message integrity failureMessage was altered in transit.

Later RFCs register more codes in the same scheme, which is why you will see values such as 5.7.26 or 5.7.509 that are not in RFC 3463. Read them by their subject digit: anything in x.7.x is a security or policy decision.

The codes you will actually see

These combinations make up most real bounces from Gmail and Microsoft. Gmail and Microsoft texts are quoted from their own error references (start of the message only).

CodeTypical textAction
550 5.1.1Gmail: The email account that you tried to reach does not exist. Microsoft: Bad destination mailbox addressHard. Suppress the address.
550 5.1.10Microsoft: Recipient not found (shown as RESOLVER.ADR.RecipientNotFound)Hard. Address does not exist at that Microsoft 365 tenant.
550 5.2.1Gmail: The email account that you tried to reach is inactive.Hard. Abandoned account.
452 4.2.2Gmail: The recipient's inbox is out of storage space.Soft. Retry later.
552 5.2.2Gmail: The recipient's inbox is out of storage space and inactive.Treat as hard.
450 4.2.1Gmail: The user you are trying to contact is receiving email too quickly.Soft. Retry later.
421 4.7.0Gmail, several texts, e.g. This message is suspicious due to the very low reputation of the sending domain.Reputation or setup (PTR, TLS). Fix the sending side.
421 4.7.28Gmail: Gmail has detected an unusual rate of email.Rate limited. Slow down; check complaint rate.
550 5.7.1Gmail: The user or domain that you are sending to (or from) has a policy that prohibits the email that you sent.Policy block. Not an address problem.
550 5.7.26Gmail: This email has been blocked because the sender is unauthenticated.Fix SPF/DKIM/DMARC alignment.
550 5.7.509Microsoft: Access denied, sending domain [$SenderDomain] does not pass DMARC verification and has a DMARC policy of reject.Fix DMARC alignment.

Where each provider shows the code

  • Postmark: the bounce record's Details holds the server response, and the bounce dump returns the raw report. The Type (HardBounce, SoftBounce…) is Postmark's own classification.
  • Mailgun: failed events carry a delivery-status object with the code and message, plus severity permanent or temporary.
  • SendGrid: bounce and deferred events include the server's response; bounce events are typed bounce or blocked.
  • Resend: bounces are typed Permanent, Transient or Undetermined with a subtype such as MailboxFull.

When the provider's label and the SMTP code disagree, trust the code and the text.

Questions

What is the difference between 550 and 5.5.0?

550 is the basic SMTP reply. 5.x.x is the enhanced status code that adds detail. Microsoft uses 550 5.5.0 for an outlook.com or hotmail.com address that was not found.

Is a 4xx code a bounce?

Not yet. A 4xx reply is a temporary failure, so the sending server retries. It only becomes a bounce if the retries run out.

Which codes mean the address is bad?

5.1.1, 5.1.2, 5.1.3, 5.1.6, 5.1.10 (Microsoft) and 5.2.1 almost always mean the address cannot receive mail. Suppress it.

Which codes mean my setup is the problem?

Most 5.7.x codes: 5.7.1 policy refusals, 5.7.26 unauthenticated mail at Gmail, 5.7.509 DMARC failure at Microsoft. Fix authentication and reputation rather than the recipient list.

Sources