Exchange mail flow guides › Authentication and SMTP errors

Exchange SMTP error codes explained: 421 4.4.1, 421 4.4.2, 451 4.7.0, 452 4.3.1, 530 5.7.1, 550 5.7.1 and more

Exchange answers every SMTP submission with a three-digit reply code and an enhanced status code; 4.x.x means try again later and 5.x.x means the message was rejected, and the text after the code tells you which Exchange limit, permission or resource caused it. This page lists the replies a connector sees when it hands mail to an on-premises Exchange Server — a POP3/IMAP connector delivering into Exchange, or a relay taking Exchange’s outbound mail — with the usual cause, the fix, and the knowledge base article that has the commands and screenshots.

Updated on 2026-09-26

How to read an Exchange SMTP reply

A reply such as 550 5.7.1 Unable to relay has three parts. The reply code (550) is the classic SMTP status; the enhanced status code (5.7.1) is defined in RFC 3463 and, as Microsoft describes it for Exchange Server 2016, 2019 and Subscription Edition (DSNs and NDRs in Exchange Server), reads class.subject.detail: class 4 indicates a temporary delivery error and class 5 a permanent one; the subject groups the cause. The text after the code is what you search for — it names the limit or permission that fired.

Subject digitCategory (per RFC 3463, as listed by Microsoft)Codes on this page
x.3.xMail system (the destination mail system)452 4.3.1, 552 5.3.4
x.4.xNetwork and routing421 4.4.1, 421 4.4.2
x.5.xMail delivery protocol503 5.5.2, 550 5.5.1, 554 5.5.2
x.7.xSecurity or policy451 4.7.0, 454 5.7.3, 504 5.7.4, 530 5.7.0, 530 5.7.1, 550 5.7.1

Two things follow from the class. A 4xx reply is not a rejection: the connector keeps the message and tries again on the next cycle, so a 4xx that repeats for hours is a configuration problem, not a transient one. A 5xx reply is final for that attempt; POPcon moves the message into its BADMAIL folder, and after the fix the message is retried from there (see the last question below). Where the code shows up is the connector’s log — for POPcon the file POPconSrv.log in the program directory.

Temporary errors (4xx): Exchange wants you to try again

ReplyWhat it meansTypical cause when a connector submits mailFixArticle
421 4.4.1 Connection timed outExchange closed the SMTP connection before the submission finishedVery large messages or a slow network between the connector and ExchangeRaise the timeout on the receive connector: Set-ReceiveConnector -id "*default*" -ConnectionTimeout 01:00:00, then restart the Microsoft Exchange Transport service421 4.4.1 Connection timed out
421 4.4.2 Message submission rate for this client has exceeded the configured limitThe receive connector’s MessageRateLimit — the maximum number of messages per minute from a single source — was reached; Microsoft’s default on the Default Frontend connector is unlimited (Message rate limits and throttling)The limit was set too low for the volume the connector submits in one pass, for example after a best-practice tool changed itList the connectors and their limits with Get-ReceiveConnector | ft name,messageratelimit, then raise the active one: Set-ReceiveConnector -identity Default* -MessageRateLimit 200421 4.4.2 Message submission rate exceeded
451 4.7.0 Temporary server error. Please try again later. PRXExchange 2013 turns the session away for now; the article names two common causesTwo receive connectors in conflict, or TLS, DNS or network trouble on the Exchange serverRemove duplicate connectors and make sure the Default Frontend connector permits anonymous users; do not require TLS (the connector uses plain SMTP); disable unused network adapters, use IPv4 only, check DNS and the clock (NTP)451 4.7.0 Temporary server error PRX
452 4.3.1 Insufficient system resourcesExchange has paused mail acceptance because a monitored resource is short — Microsoft calls the mechanism back pressure (Understanding back pressure): under high pressure the transport service rejects all new incoming MAIL FROM commandsFree disk space on the Exchange server has run low; the knowledge base article names 4 GB as the point at which the older versions stop accepting mailFree disk space (logs, temp files), or restart if memory was the resource; then move the .msg files from BADMAIL to PICKUP so the connector delivers them again452 4.3.1 Insufficient system resources

Permanent errors (5xx): Exchange rejected the message

ReplyWhat it meansTypical cause when a connector submits mailFixArticle
454 5.7.3 Client does not have permission to submit mail — or the connection is simply closedSomething between the connector and the Exchange transport refused the sessionOn Exchange 2007 the Windows SMTP service holding port 25, or the antispam agents; on Exchange 2003 sender, recipient or intelligent message filtering; anywhere, a firewall or antivirus product cutting the TCP connectionStop and disable the Windows SMTP service; add the connector’s IP address to the antispam IP Allow List; switch off the Exchange 2003 filters; configure security products to drop mail silently instead of closing the connectionConnection unexpectedly closed / 454 5.7.3
503 5.5.2 need Rcpt commandExchange refused every recipient of the message, so the DATA command arrived without an accepted RCPTRecipient filtering is on, the domain is not an accepted domain, or the address does not exist in Active DirectoryCheck Accepted Domains and the users’ addresses in Active Directory; on Exchange 2003 disable recipient filtering under Global Settings › Message Delivery550 5.5.1 user unknown / 503 5.5.2 need Rcpt
504 5.7.4 Unrecognized authentication typeNot from your Exchange: the Office 365 SMTP servers answer this when a relay talks to smtp.office365.com without the TLS mode they expectMultiSendcon’s SMTP account for smtp.office365.com is set to plain SSL; Office 365 requires STARTTLS (explicit TLS on port 587), implicit SSL on 465 is not supported for outbound relaySet the account’s SSL option to Explicit SSL/TLS (available since MultiSendcon 2.10)504 5.7.4 Unrecognized authentication type
530 5.7.0 Must issue a STARTTLS command firstThe receive connector requires TLS before it accepts SMTP commandsTLS is enforced on the connector; the POP3/IMAP connector delivers over plain SMTP without STARTTLSOn the Default Frontend connector’s Security tab allow anonymous users and make sure TLS is offered, not required530 5.7.0 Must issue a STARTTLS command first
530 5.7.1 Client was not authenticatedThe receive connector accepts only authenticated sessions“Anonymous users” is not ticked in the connector’s permission groups — on Exchange 2007 and 2010 the receive connector accepts only authenticated sessions by defaultOpen the Default (or Default Frontend) receive connector, tick Anonymous users under Permission Groups; do not work around it with SMTP authentication530 5.7.1 Client was not authenticated
530 SMTP authentication is requiredNot from Exchange at all: another mail server (typically hMailServer) is listening on port 25 of the address the connector delivers toA second SMTP server on the same machine as the connector answers before Exchange doesRemove the other server, or move it to another port and set the connector’s Exchange delivery port to match (EXCHANGE tab in POPcon)530 SMTP authentication is required
550 5.5.1 user unknownExchange has no recipient with that addressThe address is missing in Active Directory, the domain is not accepted, or a distribution group refuses external sendersAssign the address in Active Directory; for a group run Set-DistributionGroup GROUPNAME -RequireSenderAuthenticationEnabled $False; on Exchange 2003 disable recipient filtering550 5.5.1 user unknown / 503 5.5.2 need Rcpt
550 5.7.1 Unable to relayExchange does not own the recipient domain and will not forward mail for itYour internet domain is not in the list of accepted domainsAdd the domain under Mail Flow › Accepted Domains as an Authoritative Domain; on Exchange 2003 add it to the Default Policy under Recipient Policies550 5.7.1 Unable to relay
552 5.3.4 Header size exceeds fixed maximum sizeThe message header is larger than the receive connector allowsMail from mailing lists, long forwarding chains or automated systems with very long headersSet-ReceiveConnector -identity Default* -MaxHeaderSize 256kb, then move the affected messages from BADMAIL to PICKUP552 5.3.4 Header size exceeds fixed maximum size
554 5.5.2 No valid recipientsExchange found no deliverable recipient for the messageExchange 2000/2003: the internet domain is missing from the Default Policy, the connector’s machine has no relay rights on the virtual SMTP server, or the addresses are not assignedAdd the domain to the Default Policy under Recipients › Recipient Policies, grant relay rights, check the addresses in Active Directory554 5.5.2 No valid recipients

Three settings behind most of these replies

Read across the two tables and the same three Exchange settings keep coming back. They are also the three steps of the setup guide How to download POP3 and IMAP mailboxes into Exchange 2016, 2019 and SE, which is why a fresh installation tends to produce these codes in this order.

Two replies in the tables do not come from your Exchange at all: 530 SMTP authentication is required is another SMTP server answering on port 25 of the connector’s machine, and 504 5.7.4 Unrecognized authentication type is the Office 365 side answering a relay such as MultiSendcon. In both cases changing Exchange changes nothing.

Receive connector parameters that appear in the fixes

ParameterReply it produces when too lowCommand from the knowledge baseAfterwards
ConnectionTimeout421 4.4.1 Connection timed outSet-ReceiveConnector -id "*default*" -ConnectionTimeout 01:00:00Restart the Microsoft Exchange Transport service
MessageRateLimit421 4.4.2 Message submission rate exceededSet-ReceiveConnector -identity Default* -MessageRateLimit 200Confirm with Get-ReceiveConnector | ft name,messageratelimit
MaxHeaderSize552 5.3.4 Header size exceeds fixed maximum sizeSet-ReceiveConnector -identity Default* -MaxHeaderSize 256kbMove the rejected messages from BADMAIL to PICKUP

Default* matches the connector named Default <ServerName>; if the connector that accepts the sessions is a different one — the Default Frontend connector on Exchange 2013 and later, or an SBS fax connector — apply the command to that connector, or to each connector listed by Get-ReceiveConnector.

Frequently asked questions

What is the difference between a 4xx and a 5xx reply from Exchange?

The first digit of the reply and the first digit of the enhanced status code say the same thing: 4 is a temporary delivery error, 5 is a permanent one. Microsoft documents the classes for Exchange Server 2016, 2019 and Subscription Edition with reference to RFC 3463. A connector treats a 4xx reply as 'try again later' and keeps the message; a 5xx reply is a rejection, and the message is set aside for the administrator.

Where do I see the error code Exchange returned?

In the connector's log. POPcon writes every retrieval cycle, every message downloaded, the delivery status and any error to the text file POPconSrv.log in its program directory (C:\Program Files (x86)\POPcon); log size and rotation are set on the General tab of the configuration. The Exchange reply appears in the log line for the delivery attempt, usually one line below the recipient it was rejected for.

Exchange closes the connection without any code. What then?

An abrupt close is not an SMTP reply, so there is nothing to look up. The known causes are the Windows SMTP service competing with Exchange for port 25 on Exchange 2007, the Exchange antispam agents (add the connector's IP address to the IP Allow List), sender, recipient or intelligent message filtering on Exchange 2003, and firewalls or antivirus products that cut the TCP connection instead of silently dropping the mail. The article 'Exchange SMTP connection unexpectedly closed' walks through each.

Should I enable SMTP authentication to get rid of 530 5.7.1 Client was not authenticated?

No. The connector delivers over standard unauthenticated SMTP, and the fix is to allow anonymous users on the receive connector that accepts its connections. With authentication, Exchange shows every message delivered that way as sent by the account that logged in, which is not what you want for mail from external senders.

What happens to a message Exchange rejected, and how do I retry it?

POPcon moves a message Exchange has rejected into its BADMAIL folder inside the program directory. Once the cause is fixed, move the .msg files from BADMAIL into the PICKUP subfolder and the connector delivers them again. The articles for 452 4.3.1 and 552 5.3.4 describe this step.

More in the Exchange mail flow guides, on the POPcon and MultiSendcon product pages, the POPcon download page or in the knowledge base. Auf Deutsch: Exchange-SMTP-Fehlercodes erklärt.