When an email fails to deliver, the bounce message you receive contains an SMTP status code that explains exactly what went wrong. These three-digit codes follow a standardized format defined in RFC specifications, making them predictable once you understand the pattern. Whether you're troubleshooting a customer complaint, monitoring mail server logs, or diagnosing deliverability issues, knowing how to read these codes saves hours of guesswork.
How SMTP Status Codes Work
Every SMTP bounce code follows a three-digit structure where each position has specific meaning:
- First digit: The class of response (2=success, 4=temporary failure, 5=permanent failure)
- Second digit: The category of problem (0=syntax, 1=information, 2=connection, 5=mail system)
- Third digit: Specific detail within that category
The full status code is often followed by enhanced status codes in the format X.Y.Z, providing additional context. For example, 550 5.1.1 means a permanent failure (5xx) related to the mailbox address (5.1.1).
Understanding 2xx, 4xx, and 5xx Classes
2xx codes indicate success. You'll rarely see these in bounce messages since successful delivery doesn't generate a bounce. The most common is 250 OK, confirming the message was accepted.
4xx codes signal temporary failures. The receiving server is telling you to try again later. These are soft bounces—the problem might resolve itself within hours or days.
5xx codes mean permanent failures. The receiving server has definitively rejected the message and retrying won't help. These are hard bounces that require investigation and correction.
Common Temporary Failures (4xx Codes)
Temporary failures tell you the message couldn't be delivered right now, but may succeed later. Mail servers typically retry 4xx errors automatically for several days before giving up.
421: Service Not Available
What it means: The receiving mail server is temporarily unavailable or too busy to accept connections.
Common causes: - Server maintenance or restart - Resource exhaustion (CPU, memory, connections) - Rate limiting or connection throttling - Network connectivity problems
What to do:
1. Wait 30-60 minutes and retry
2. Check if the recipient domain's MX records are resolving correctly
3. Verify the remote server is responding to connections: telnet mx.example.com 25
4. If the error persists beyond a few hours, contact the recipient's mail administrator
Most mail servers will automatically retry, so manual intervention is rarely needed unless the problem persists.
450: Mailbox Unavailable
What it means: The recipient mailbox exists but is temporarily inaccessible.
Common causes: - Mailbox over quota (full) - Recipient mailbox locked for maintenance - Temporary database issues on the mail server - Greylisting (anti-spam technique that temporarily rejects first-time senders)
What to do: 1. Wait for automatic retry (most servers retry every 15-30 minutes initially) 2. If the error mentions quota, ask the recipient to clear space 3. For greylisting, the second delivery attempt usually succeeds within 15 minutes 4. Check server logs for patterns—multiple 450s may indicate a configuration issue
451: Local Error in Processing
What it means: The receiving server encountered an internal error while processing the message.
Common causes: - Spam filter or antivirus scanner failure - Disk space issues on the receiving server - Database connectivity problems - Temporary policy evaluation errors
What to do: 1. Retry automatically—this is usually transient 2. If persistent, check if the message size exceeds common limits 3. Try sending a smaller test message to isolate the issue 4. Contact the recipient through an alternate channel to verify their server status
452: Insufficient System Storage
What it means: The receiving server doesn't have enough disk space or resources to accept the message.
Common causes: - Mail queue is full - Disk quota exceeded on the server - Message size exceeds available storage
What to do: 1. Remove large attachments and retry 2. Wait for the recipient's administrator to free up space 3. If you control the sending server, check your own queue isn't backing up 4. Suggest the recipient upgrade their hosting plan if this is recurring
Common Permanent Failures (5xx Codes)
Permanent failures require action before the message can be delivered. Retrying without fixing the underlying problem will fail the same way.
550: Mailbox Unavailable (Permanent)
What it means: This is the most common hard bounce. The recipient address doesn't exist, or delivery is permanently blocked.
Common causes: - Email address doesn't exist (typo or deleted account) - Recipient server has blocked your IP or domain - Message rejected as spam - Policy violation (SPF, DMARC, or content filters)
The full error message provides critical detail:
550 5.1.1 User unknown: Address doesn't exist—verify spelling550 5.7.1 Relaying denied: Authentication or relay permission issue550 5.7.1 Message rejected as spam: Content or reputation problem550 Mailbox disabled: Account exists but is suspended
What to do: 1. Verify the email address is correct (check for typos) 2. Review the enhanced status code and error text for specifics 3. If spam-related, check your IP reputation and SPF/DKIM/DMARC records 4. If relay-denied, verify SMTP authentication credentials 5. Remove non-existent addresses from your mailing lists
551: User Not Local
What it means: The mailbox isn't hosted on this server, and the server won't forward it.
Common causes: - Recipient has moved to a different mail server - MX records point to the wrong server - Server is configured not to relay mail for this domain
What to do:
1. Verify the recipient domain's MX records: dig MX example.com
2. Ensure you're sending to the correct mail server
3. If you control the domain, update MX records to point to the correct server
4. Contact the recipient to confirm their current email address
552: Exceeded Storage Allocation
What it means: The recipient's mailbox is full and cannot accept new messages.
Common causes: - User has exceeded their mailbox quota - Attachment size exceeds mailbox limits - Account suspended due to over-quota status
What to do: 1. Contact the recipient through alternate means (phone, chat, different email) 2. Ask them to delete old messages or increase their quota 3. Try sending without large attachments 4. If you manage the account, increase the quota in your hosting control panel
553: Mailbox Name Not Allowed
What it means: The recipient address format is invalid or contains illegal characters.
Common causes: - Malformed email address (missing @, invalid characters) - Address contains spaces or special characters not allowed by the server - Domain name has syntax errors
What to do:
1. Validate the email address format: [email protected]
2. Remove any spaces, quotes, or unusual characters
3. Verify the domain name is correctly formatted
4. Use an email validation library to catch errors before sending
554: Transaction Failed
What it means: A catch-all permanent failure code when no other 5xx code fits.
Common causes: - Message rejected by spam filters or content policies - DMARC policy enforcement - Blacklist or reputation issues - Server policy violations
The accompanying message is essential—554 is vague without context.
What to do:
1. Read the full error message carefully
2. Check your sending IP against major blacklists: mxtoolbox.com/blacklists.aspx
3. Verify SPF, DKIM, and DMARC records are properly configured
4. Review message content for spam triggers
5. Contact the recipient's administrator if the rejection reason is unclear
Authentication and Policy Failures
535: Authentication Failed
What it means: SMTP authentication credentials were rejected.
Common causes: - Incorrect username or password - Account locked or suspended - Authentication method not supported by the server - IP address not allowed to authenticate
What to do: 1. Verify username and password are correct 2. Check if the account is active and not suspended 3. Ensure you're using the correct authentication method (PLAIN, LOGIN, CRAM-MD5) 4. Verify the server allows SMTP AUTH from your IP address 5. Check for password policy changes or expiration
550 5.7.1: Relay Access Denied
What it means: The server won't relay mail for you because you're not authenticated or authorized.
Common causes: - Trying to send without authentication - Sending from an unauthorized IP address - Server configured not to relay for your domain
What to do: 1. Enable SMTP authentication in your mail client or application 2. Verify you're connecting to your own mail server, not the recipient's 3. Check if your IP is in the server's allowed relay list 4. In cPanel, verify the account has permission to send mail
Enhanced Status Codes Explained
The three-digit code is often paired with an enhanced status code (DSN) like 5.1.1 or 4.2.2. These provide standardized sub-categories:
X.0.0: Other or undefined status
X.1.x: Addressing issues (bad address, no mailbox)
X.2.x: Mailbox status (disabled, full, over quota)
X.3.x: Mail system issues (full, system incorrectly configured)
X.4.x: Network and routing (connection timeout, routing issues)
X.5.x: Mail delivery protocol status (wrong protocol version, syntax error)
X.6.x: Message content or format issues (conversion failed, unsupported format)
X.7.x: Security and policy (encryption required, message integrity failure, blocked)
When troubleshooting, always read both the three-digit code and the enhanced code together. A 550 5.7.1 tells you more than just 550 alone.
Reading Bounce Messages in Practice
A typical bounce message looks like this:
The original message was received at Thu, 20 Jun 2026 14:30:15 +0000
from mail.sender.com [203.0.113.42]
----- The following addresses had permanent fatal errors -----
<[email protected]>
(reason: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual mailbox table)
How to read it: 1. 550: Permanent failure 2. 5.1.1: Enhanced code for addressing problem, user doesn't exist 3. User unknown in virtual mailbox table: Specific reason—address not found in the server's user database
Action: Verify the email address. The account doesn't exist or was deleted.
Checking Your Server Logs
If you manage a mail server, checking logs gives you the complete picture:
In cPanel/WHM, go to Email Delivery Route or check /var/log/exim_mainlog:
grep "[email protected]" /var/log/exim_mainlog | tail -20
In Postfix, check /var/log/maillog or /var/log/mail.log:
tail -f /var/log/maillog | grep "status="
Look for lines showing status=bounced or status=deferred along with the SMTP code and diagnostic message.
Best Practices for Handling Bounces
1. Monitor bounce rates: High bounce rates damage sender reputation. Aim for under 2% hard bounces.
2. Implement automated bounce handling: Parse bounce messages programmatically and automatically remove hard bounces from lists.
3. Distinguish hard from soft bounces: Retry soft bounces (4xx) but immediately remove hard bounces (5xx, except quota-related).
4. Track bounce patterns: Repeated bounces from one domain may indicate a configuration or reputation issue.
5. Use a double opt-in process: Confirm email addresses before adding them to mailing lists to reduce invalid addresses.
6. Validate addresses before sending: Use format validation and consider SMTP validation for high-value sends.
7. Keep authentication configured correctly: Maintain valid SPF, DKIM, and DMARC records to prevent authentication-related bounces.
8. Test with multiple providers: Send test messages to Gmail, Outlook, Yahoo, and other major providers to catch delivery issues early.
Conclusion
SMTP bounce codes follow a predictable pattern: 4xx means try again later, 5xx means fix the problem before retrying. The enhanced status code and accompanying message provide the specific detail you need to diagnose the issue. Understanding these codes turns cryptic error messages into clear action items, whether you're managing a mail server, troubleshooting a customer issue, or monitoring email deliverability for your application. Keep your authentication records clean, monitor bounce rates, and remove invalid addresses promptly to maintain healthy email delivery.
