You send an email to a client, and a few minutes later you get an unwelcome reply from "Mail Delivery System" with the subject "Mail delivery failed: returning message to sender" and a strange code such as "550 5.7.1" or "451 4.7.1". What exactly does it mean, what is the difference between 4xx and 5xx, and how do you fix it? This post is a complete decoder for bounce codes.
Bounce vs reject — the difference #
- Bounce = the recipient’s mail server accepts the message and then returns it. You see the bounce message in your inbox.
- Reject = the recipient’s mail server refuses the message during the SMTP conversation. Your server sees the error straight away.
- Drop / silent = the message is accepted but silently discarded. The worst case — you don’t know it never arrived.
Most "Mail delivery failed" messages are the result of a reject — the recipient’s server never even accepted the message, it only signalled a code.
4xx vs 5xx — the crucial difference #
The first digit of the status code tells you everything:
- 4xx = temporary failure (transient). The mail server tries to re-deliver over the next 24-72h. It may still go through on its own.
- 5xx = permanent failure. It will never go through. You need to fix the cause before sending again.
Rule of thumb: a 4xx is nothing to worry about straight away (wait 6 hours). A 5xx is something to worry about now.
The most common 5xx codes and what they mean #
550 5.1.1 — User unknown #
The recipient doesn’t exist. The address was mistyped, the account has been deactivated, or the company has changed its domain.
Fix: double-check the address. Contact the client through another channel to get their current email address.
550 5.1.10 — Recipient address rejected: Address not found #
A Microsoft 365 / Outlook-specific code. The recipient mailbox doesn’t exist in the Microsoft tenant.
Fix: confirm with the recipient that the domain has been moved to M365 and that the mailbox exists.
550 5.7.1 — Message blocked by sender policy #
The most common "permanent reject" code. Reasons:
- SPF/DKIM/DMARC failure — your domain doesn’t authorise your server to send
- Your IP is on a blacklist
- The recipient server identifies the message as spam
- The sender domain has a poor reputation score
Fix: check your DNS authentication (see our spam recovery post). Check your blacklist status at mxtoolbox.com.
550 5.7.26 — Multiple authentication failures #
A Gmail-specific code. Your domain sends from too many different IPs, and some of them aren’t in SPF.
Fix: update SPF so it covers all outgoing IPs. If you use several SMTP services (Mailgun + Gmail Workspace + cPanel), all of them must be in SPF.
552 5.2.3 — Message size exceeds limit #
Your message (or attachment) is larger than the recipient’s limit. Gmail’s is 25MB, Outlook’s 20MB, and many corporate inboxes allow 10MB.
Fix: compress the attachment or use a cloud storage link (Google Drive, Dropbox, Nextcloud) instead of attaching the file directly.
553 5.1.2 — Domain doesn't exist #
The company you’re contacting has no valid DNS for its domain (it may have been cancelled or have expired). Or you mistyped the domain.
Fix: check the spelling. Try to reach them through another channel.
554 5.7.1 — Relay access denied #
Your server is trying to send mail through another server that doesn’t allow relaying. A classic code for a misconfigured SMTP relay.
Fix: if you use an external SMTP service (Mailgun, Postmark), check that the credentials are correct and that you’re authorised to send from your domain.
The most common 4xx codes (temporary) #
421 4.7.0 — Try again later #
The recipient’s mail server is overloaded or in maintenance mode. Retries happen automatically every 15-60 minutes. Most emails get through within 2-6 hours.
Action: wait 24h. If after 72h you get a permanent failure — that’s when to step in.
451 4.7.1 — Greylisted #
Greylisting is an anti-spam technique: the first attempt is temporarily rejected, and a second attempt 15 minutes later gets through. Legitimate servers retry; spammers usually don’t.
Action: nothing. Your server will retry automatically. The email will get through within 15-60 minutes.
452 4.5.3 — Too many recipients #
The limit on the number of recipients per message has been reached (typically 100). If you send to a large list — the recipient limit grows with your reputation.
Fix: split the mailing into smaller batches. For bulk mail, use an email marketing platform.
454 4.7.0 — Temporary authentication failure #
SMTP authentication is not possible at the moment. Typically the recipient’s mail server is in the middle of some internal reorganisation.
Action: wait. The automatic retry will get past it.
Provider-specific codes #
Gmail-specific #
- 421-4.7.0 [reason] — Gmail gives you a detailed reason. Read the text in the brackets for context
- 550-5.7.1 Our system has detected an unusual rate — Gmail rate limit; you are sending too fast
- 550-5.7.26 This mail has been blocked because the sender is unauthenticated — DMARC fail
- 550-5.7.28 The IP you're using has been temporarily rate limited — a Gmail-specific reputation issue
Microsoft Outlook / Exchange-specific #
- 550 5.7.606 Access denied, banned sending IP — Microsoft has blocked your IP
- 550 5.7.708 Service unavailable. Access denied, traffic not accepted from this IP — Microsoft rate limit
- 5.7.520 Access denied, your organization does not allow external forwarding — Microsoft tenant policy
Yahoo-specific #
- 421 4.7.0 [TSS04] Messages from your IP rate limited — Yahoo rate limit
- 550 5.7.1 The user you are trying to contact is receiving mail at a rate — the recipient has too many unopened emails
How to read a full bounce message #
A typical bounce message looks roughly like this:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more
of its recipients. This is a permanent error.
The following address(es) failed:
client@company.hr
SMTP error from remote mail server after RCPT TO:<client@company.hr>:
host mail.company.hr [192.0.2.1]: 550 5.1.1 User unknown
The key parts:
- "permanent error" vs "temporary error" — you know straight away whether it is 5xx or 4xx
- Failed address — which address didn’t receive it
- Remote server — which server rejected it
- Error code + reason — what they said
These 4 pieces of information are almost always enough to fix the problem.
What to do when you get a bounce #
Single-recipient bounce (to a client) #
- Check the code (4xx or 5xx)
- If it’s 4xx — wait 24h
- If it’s 5xx — read the reason. If "user unknown" → wrong email address. If "blocked by policy" → a DNS issue on your side.
- Contact the client through another channel (phone, WhatsApp)
- If the problem is yours (550 5.7.x), fix it before you send again
Mass bounces (several recipients failing) #
- Look for a pattern — the same cause for all of them?
- If they are all 5.7.x → your DNS/reputation
- If they are mixed → your mailing list may be out of date
- Pause everything until you’ve fixed the root cause
Auto-reply bounces ("out of office") #
These aren’t real bounces. Internally the status is 250 or 200, but the recipient sends you an auto-reply. Ignore them or filter them out.
Setting up bounce handling (for bulk mail) #
If you send more than 1000 emails a month, reading bounces by hand isn’t realistic. You need automated bounce handling:
Option 1: A dedicated email marketing platform #
Mailchimp, MailerLite and ActiveCampaign automatically:
- Detect soft bounces (4xx) and hard bounces (5xx)
- Auto-suppress permanent failures after 1 hard bounce
- Auto-suppress soft bounces after 3-5 attempts
- Show you a dashboard with the reasons
Option 2: A bounce processing webhook #
If you send through Postmark, Mailgun or SendGrid:
- Set up a webhook for bounce events
- Your site receives a POST with the bounce reason
- The address is automatically marked as invalid in your database
Option 3: Inbox monitoring #
The simplest option for small volumes: create a rule in your inbox that moves every "Mail delivery failed" message from Postmaster into a dedicated folder. Review it once a week.
Bounced emails on WMD hosting #
SPF and DKIM are set up for every domain whose DNS is with us, and you can turn on a DMARC record with the “Postavi” (Set up) button under Izvještaji (Reports) in Moj WMD. If mail still bounces, send us the message header and we’ll take a look.
Got a specific bounce code you don’t understand? Send us your last 5 bounce messages and we’ll check them. Our first reply usually solves the problem.