Glossary

SMTP error codes explained

What common SMTP reply codes mean, which ones are temporary, which are permanent, and what each one tells you about an email address.

Definition

SMTP reply codes

SMTP reply codes are three-digit numbers a mail server sends back to each command, where 2xx means success, 4xx a temporary failure and 5xx a permanent failure.

How SMTP replies work

Mail servers talk to each other with SMTP, the protocol defined in RFC 5321. The sender sends a command, and the receiver answers with a three-digit code and some text. The first digit is the one that matters most:

  • 2xx: done. The server accepted the command.
  • 4xx: not now. A temporary failure. Trying again later may work.
  • 5xx: no. A permanent failure. Trying again will not help.

Many servers add an enhanced status code (RFC 3463) after the basic code, such as 550 5.1.1. It has three parts: the class (2, 4 or 5), a subject (for example 1 for addresses, 2 for mailboxes, 7 for security and policy) and a detail.

Common SMTP reply codes

Meanings are the standard texts from RFC 5321. The last column says what the code usually means when you check an address.

Code Meaning (RFC 5321) Type What it usually means for a check
250 Requested mail action okay, completed Success In reply to RCPT TO: the server will take mail for this address. On a catch-all domain this proves little.
251 User not local; will forward Success Accepted. The server will pass the mail on to another address.
421 Service not available, closing transmission channel Temporary The server is busy, limiting connections or shutting down. No answer about the mailbox yet. Try again later.
450 Requested mail action not taken: mailbox unavailable (for example, mailbox busy or temporarily blocked) Temporary Often greylisting: the server wants the sender to come back later. Not a reason to remove the address.
451 Requested action aborted: local error in processing Temporary A problem on the receiving server, or greylisting. Try again later.
452 Requested action not taken: insufficient system storage Temporary The server is short of space or got too many recipients at once. With 4.2.2 it means the mailbox is full.
500 Syntax error, command unrecognized Permanent The server did not understand a command. It says nothing about the mailbox.
501 Syntax error in parameters or arguments Permanent A command or address was not in a form the server accepts. Check how the address is written.
503 Bad sequence of commands Permanent Commands came in the wrong order. It says nothing about the mailbox.
550 Requested action not taken: mailbox unavailable (for example, mailbox not found, no access, or rejected for policy reasons) Permanent Often the mailbox does not exist, but it can also be a policy block. Read the enhanced code: 5.1.1 and 5.7.1 mean very different things.
551 User not local; please try another path Permanent The mailbox is not on this server. The address may have moved.
552 Requested mail action aborted: exceeded storage allocation Permanent Often a full mailbox. RFC 5321 asks senders to treat a 552 for "too many recipients" as temporary.
553 Requested action not taken: mailbox name not allowed (for example, mailbox syntax incorrect) Permanent The address is not accepted as written. Check it for typos.
554 Transaction failed (when the connection opens: no SMTP service here) Permanent Often a policy or spam block on the sender. It does not prove the mailbox is missing.

Enhanced status codes worth knowing

5.1.1 Bad destination mailbox address
The mailbox does not exist. This is the classic hard bounce. Remove the address.
5.2.2 Mailbox full
The mailbox exists but has no room. Although it is sent as a permanent code, the mailbox may empty again later.
4.2.2 Mailbox full (temporary form)
The same problem, sent as a temporary code. Retry later.
5.2.1 Mailbox disabled, not accepting messages
The mailbox exists but is switched off. It may be closed for good later.
5.7.1 Delivery not authorized, message refused
A policy or security refusal. Most of the time it is about the sender, such as its IP address or reputation, not about the mailbox. Some servers also use it with text like “No such user”, so read the text too.

Why it matters for senders

The code decides what you should do next. Remove an address after a 5.1.1 and you avoid repeat hard bounces. Remove one after a 4xx and you may lose a real subscriber. Treat every 550 as “mailbox gone” and you may delete good addresses because of a block on your own server.

How VerifyMyList reads these codes

We only ask the server whether it would accept mail for the address (the RCPT TO command), then end the conversation. No email is sent. We read both the code and the enhanced code, because 550 5.1.1 and 550 5.7.1 mean opposite things.

  • 5.1.1 and similar “no such mailbox” replies: invalid, reason code mailbox_not_found.
  • A full mailbox (4.2.2 or 5.2.2): risky, mailbox_full. A disabled one (5.2.1): risky, mailbox_disabled. The mailbox exists, so it is never invalid.
  • A policy block (5.7.x) is not read as a missing mailbox. The result is unknown, unless the text clearly says the user does not exist.
  • Other temporary replies, including greylisting: unknown, and we retry later. A 4xx reply never becomes invalid, and nothing is charged while the retry is pending.

The full step-by-step is on How it works.

What to do

  1. Remove addresses that return 5.1.1 or a clear “user unknown”.
  2. Retry 4xx failures. Remove the address only if it keeps failing.
  3. If you see many 5.7.1 or 554 replies, check your own sending setup with the blacklist checker and the SPF and DMARC checker.

Sources

Questions about SMTP codes

What is the difference between 550 and 5.1.1?

550 is the basic three-digit reply code. 5.1.1 is an enhanced status code that often comes after it and gives the detail: the mailbox does not exist. A 550 with 5.7.1 instead means a policy refusal, which is a very different thing.

Should I remove an address after a 4xx reply?

No. A 4xx reply is temporary. The server is asking the sender to try again later. Retry, and only remove the address if it keeps failing over several sends.

Why does the reply text differ from server to server?

The standards fix the numbers, not the words. Each mail server writes its own text after the code, so two servers can say the same thing in different ways.

Do you send an email to get these codes?

No. We ask the server about the address with the RCPT TO command and end the conversation. The DATA command, which starts a message, is never sent.

Read more: how to verify an email without sending one.

Get the reason behind every result, in plain words

Create a free account and verify a list. New accounts get 100 free credits. No card needed.