Deliverability

Reading a bounce: hard, soft, and the ones that are neither

A bounce is an SMTP status code, not a label. What 5xx and 4xx actually mean, where the hard/soft split breaks down, and what to suppress versus retry.

By Mateo Duarte · · Updated

A 5xx bounce does not always mean the address is dead, and a 4xx does not always mean try again later. What actually comes back is an SMTP reply code and a diagnostic string, and “hard” and “soft” are a summary someone laid on top afterward. A reputation block is a 5xx. A greylist delay is a 4xx that succeeds on the second try. Suppressing every 5xx address throws away subscribers whose only problem was you, not them. Microsoft’s bulk sender enforcement is a clean example of a reputation-style block: a high-volume sender that fails authentication can be refused with a 550 5.7.515, a 5xx that says nothing about the recipient’s mailbox. Gmail, Yahoo and Microsoft’s bulk sender rules covers it.

SMTP reply codes

Every SMTP reply starts with a three-digit code, and in RFC 5321 the first digit is the one that tells a sender what to do. A 2yz code means the command succeeded. A 4yz code is a Transient Negative Completion reply: rejected, but the condition is temporary and the client should retry. A 5yz code is a Permanent Negative Completion reply: rejected, and the client should not repeat the exact request. That is the whole hard/soft split as SMTP defines it, and it says nothing about why the receiver refused you.

The why usually rides along as an enhanced status code, a second string in the form X.Y.Z defined by RFC 3463 and put under an IANA registry process by RFC 5248, which set up how new codes get registered without replacing 3463’s definitions. X repeats the class (2 success, 4 persistent transient failure, 5 permanent failure), Y names a subject such as addressing, mailbox, routing, or policy, and Z narrows it further. 550 5.1.1 is a permanent failure registered as “bad destination mailbox address”: the mailbox does not exist. 550 5.7.1 is also a permanent failure, but its registered meaning is “delivery not authorized, message refused”, the result of per-host or per-recipient filtering. Same first digit, same “permanent”, opposite next step.

Not every server sends the enhanced code, and the ones that do vary in wording for the same cause. The diagnostic text after the codes is unstructured prose written by whoever configured that mail server, and it is often where you learn what happened.

Bounce code families

Code family What it usually means What to do
5.1.0 / 5.1.1 (bad mailbox) The address does not exist, or never did. Suppress the address now.
5.2.1 (mailbox disabled) The account exists but is disabled and not accepting mail. Suppress the address now.
5.2.2 (mailbox full) The inbox is over quota. Some servers send this as a permanent error even though it often clears. Don’t suppress on the first one. Watch for repeats.
5.7.1 and the rest of 5.7.x (policy) The receiver refused you: an IP or domain reputation block, or a content filter. The address may be reachable from anywhere else. Fix your sending. Leave the address alone.
4.2.2 (mailbox full) The recipient’s inbox is temporarily over quota. Retry on the normal schedule.
4.4.1 / 4.4.4 (no answer from host, unable to route) The receiving server was busy, down, or briefly unresolvable. Retry on the normal schedule.
4.7.x (temporary policy) A deliberate delay, the same policy subject as 5.7.x but in its temporary form. Greylisting often shows up here. Retry. It is designed to succeed.
No enhanced code, opaque text only The provider didn’t give you a machine-readable reason. Read the diagnostic string by hand before deciding anything.

The policy rows do the most damage when they get flattened into “hard” and “soft”. A reputation block looks identical to a dead mailbox in a dashboard that only shows the leading digit: both are 5xx. Suppressing the address fixes nothing about the block and costs you a subscriber who was reachable the whole time. Greylisting looks identical to a broken server in the same dashboard: both are 4xx. A sender that gives up after one 4xx instead of retrying never delivers to a server running greylisting at all, which is the point: greylisting exists to filter out senders that don’t retry.

How SES classifies bounces

Amazon SES doesn’t hand you the raw SMTP exchange. It classifies each bounce into a bounceType of Permanent, Transient, or Undetermined, with a bounceSubType underneath, published in its Amazon SNS bounce notifications. Permanent/General is SES’s name for a hard bounce. AWS tells you to remove the address immediately and warns that repeat hard bounces can get your sending paused. The Transient subtypes (General, MailboxFull, MessageTooLarge, ContentRejected, AttachmentRejected) are framed as retryable, with no suppression language attached. Undetermined is SES’s way of saying “not enough information”: the provider sent a bounce, but SES couldn’t parse a reason out of it, and the raw bounce text is where the actual reason lives.

That’s a coarser picture than the raw SMTP one, and it has no bucket for a reputation block. The other Permanent subtypes are about suppression: an address that couldn’t be retrieved, or one SES skipped because it was already on a suppression list. A 5.7.1 policy refusal from a receiver doesn’t match any of those, so it most likely arrives as Permanent/General, the same bucket as a dead mailbox. AWS’s own example for that subtype is smtp; 550 user unknown. SES tells you it’s permanent. Whether it’s the address or your reputation is still on you to read.

SES also diverges on timing. AWS’s documentation says that when a message soft bounces, SES keeps retrying for a period and sends a bounce notification only once it gives up. A hard bounce is reported right away. If you want a notification for each soft bounce, you have to enable event publishing and subscribe to delivery delay events.

Bounces, complaints and spam-folder placement

A bounce means the receiving server didn’t accept the message, and said so during the delivery attempt. A complaint means the opposite failure: the message was accepted and delivered, and the recipient (or their provider, via a feedback loop) reported it as spam afterward. SES keeps them as separate notification types for exactly that reason: notificationType is Bounce, Complaint, or Delivery, never combined into one notification, because a hard bounce and a complaint call for the same response, suppression, but they’re different evidence about a different failure.

A third outcome produces neither signal: the receiving server accepts and delivers the message straight into the spam folder, or into Promotions. Nothing rejected it, so there’s no bounce. Nobody clicked “report spam”, so there’s no complaint. The only record of it is what the recipient sees, which is why a rising unopened rate next to a flat bounce rate usually points at a folder problem, not a delivery failure. See why emails go to spam for the spam case, and why your emails land in Promotions for the other one, which isn’t a deliverability failure at all.

How to handle a bounce

Suppress on the first bounce only when the code says the mailbox itself is gone: 5.1.x, 5.2.1, or SES’s Permanent/General with a diagnostic that says so. Retry, and leave the contact alone, on a 4xx, a 5.7.x policy block, or anything that reads as a filter rather than a dead address. Everything else, an Undetermined bounce or a code you don’t recognize, is worth reading in full before you decide: the diagnostic text usually says in plain language what the two-line summary can’t.

A 5.1.1 is also the one bounce you can often prevent. If a list came from an import or an old signup sheet, run it through an email verification tool such as VerificarEmails before the first send. It checks each address’s syntax, whether its domain accepts mail, and whether the mail server recognizes the mailbox over SMTP, so typos and dead addresses come out before they bounce.

EmailFig follows SES’s classification. A Permanent bounce suppresses the address at once, so a reputation block that SES reports as Permanent suppresses the address too, and the contact is marked cleaned. When you send through EmailFig’s own sending, a hard bounce blocks the address across all of EmailFig. With your own Amazon SES, it blocks it in your account only. A soft-bouncing contact is suppressed in your account once it keeps failing across separate emails, because one soft bounce is noise. See soft vs hard bounces and suppressions.

Bounce codes are one input into a wider reputation; see email deliverability for people who aren’t experts for how they fit alongside authentication, bulk sender rules, and complaint thresholds.

Keep reading

All posts →