Microsoft KB Archive/284204

= Delivery status notifications in Exchange Server and in Small Business Server =

Article ID: 284204

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q284204





INTRODUCTION
This article describes delivery status notifications in Microsoft Exchange 2000 Server and Microsoft Exchange Server 2003. Specifically, this article describes permanent failure messages and transient failure messages that frequently end as permanent delivery errors. The following message is an example of a delivery status failure notification as viewed from an Outlook client:

Your message did not reach some or all of the intended recipients.

Subject: Original Message Sent: 7/11/2001 9:20 AM

The following recipient(s) could not be reached: user@nwtraders.com on 7/11/2001 9:20 AM           The e-mail account does not exist at the organization this message was sent to. Check the e-mail address, or contact the recipient directly to find out the correct address. 



MORE INFORMATION
Non-delivery reports (NDRs) are system messages that report the delivery status of a message to the sender. The messages are a subclass of a general message information structure that is referred to as delivery status notifications. Delivery status notifications describe three different types of situations:
 * Success (2. numeric codes)
 * Persistent transient failure (4. numeric codes)
 * Permanent failures (5. numeric codes)

To learn more about delivery status notifications, see Request for Comment (RFC) 1891 and RFC 1893.

NDRs are generated whenever a message cannot be delivered. If the computer can detect the reason for the failed delivery, it maps the reason onto a status code, and a corresponding error message is printed. (To see a list of these codes, see RFC 1891 and RFC 1893.) For NDRs, most numeric codes are reported in the form of 5. and are described as permanent failures. However, there are certain transient conditions that cause 4. codes.

Note that the server that is reporting the problem is listed before the numeric code. In the example NDR in the &quot;Introduction&quot; section, the reporting server is server.nwtraders.com. Sometimes the server that is reporting the problem is not the server that is actually experiencing the issue.

The following list describes the numeric codes and the corresponding error conditions that most frequently occur:  Numeric Code: 4.2.2

Only available in Exchange 2000 Service Pack 2 or earlier. See 5.2.2 Numeric Code: 4.3.1

Possible Cause: This code may be caused by resource problem such as a disk full condition. This code may also occur if your Simple Mail Transfer Protocol (SMTP) queue is on a File Allocation Table (FAT) partition and the service has reached a Windows-imposed limit on the number of concurrent file handles that can be opened by the SMTP Service. In this case, instead of receiving a disk full error, you might be receiving an out of memory error.

Troubleshooting: Make sure you have sufficient disk storage, and try to operate your Exchange Transport queues on an NTFS partition. Numeric Code: 4.3.2

First Available: Exchange 2000 Service Pack 1

Possible Cause: The message was not delivered because of Administrator action through the queue viewer interface in Exchange System Manager. Numeric Code: 4.4.1

Possible Cause: The host is not responding.

Troubleshooting: This code may be caused by transient network conditions. Exchange will automatically try again to connect and deliver the e-mail. If delivery still fails after multiple tries, a permanent failure NDR will be generated. Numeric Code: 4.4.2

Possible Cause: The connection has been dropped between servers.

Troubleshooting: This code may be caused by transient network issues or servers that are down. The server tries to deliver the message for a specific time period, and then generates additional status reports.</li> Numeric Code: 4.4.6

Possible Cause: The max hop count was exceeded for the message. This code may also occur if a loop situation exists between a sending server and a receiving server that are not in the same organization. In this scenario, the message bounces back and forth until the hop count is exceeded.

Troubleshooting: The max hop count property is set for each virtual server, and you can manually override this setting (the default setting is 15 for Exchange 2000 Server and 30 for Exchange Server 2003). Additionally, look for any situations that could cause loops between servers.</li> Numeric Code: 4.4.7

Possible Cause: The message in the queue has expired. The sending server tried to relay or deliver the message, but the action was not completed before the message expiration time occurred. This NDR may also indicate that a message header limit has been reached on a remote server or that some other protocol timeout occurred during communication with the remote server.

Troubleshooting: This code typically indicates an issue on the receiving server. Verify the validity of the recipient address, and verify that the receiving server is configured to receive messages correctly. You may have to reduce the number of recipients in the header of the message for the host that you are receiving this NDR from. If you resend the message, it is placed in the queue again. If the receiving server is on line, the message is delivered.</li> Numeric Code: 4.4.9

First Available: Exchange Server 2003

Possible Causes: This code indicates that a temporary routing error occurred or that a bad routing configuration exists. This issue may occur in one or both of the following scenarios: <ul> A Simple Mail Transfer Protocol (SMTP) connector is configured to use DNS without a smart host and is also configured to use a non-SMTP address space such as an X.400 address space.</li> A message was sent to a recipient who was identified as a member of a routing group that was deleted.</li></ul>

Troubleshooting: If the problem persists, use the WinRoute tool to examine the routing groups in the tree view pane, and then examine the address spaces of the route that the problem message takes. For more information about the WinRoute tool, click the following article number to view the article in the Microsoft Knowledge Base:

281382 How to use the WinRoute tool

</li> Numeric Code: 4.6.5

First Available: Exchange Server 2003

Possible Causes: This code occurs when conversion of an inbound SMTP failed because the code page that is specified in the message is not installed on the receiving server. This delivery status notification contains only the original message headers. None of the original content is provided.

Troubleshooting: View the MIME of the original message. Make sure that the required language files are installed on the server that is receiving the message.</li> Numeric Code: 5.0.0

First Available: All numeric codes that were first available with Exchange 2000 Service Pack 1 (4.3.2, 5.4.0, 5.4.4, and 5.5.0) were classified as 5.0.0 in Exchange 2000 Service Pack 1 and earlier.

Possible Causes: <ul> There is no route for the specified address space. For example, an SMTP connector is configured, but this address does not match.</li> DNS returned an authoritative host that was not found for the domain.</li> The routing group does not have a connector defined. Mail from one server in one routing group does not have a route to another routing group.</li> An SMTP protocol error occurred.</li></ul>

Troubleshooting: <ol> Correct the address space, or add an address space of type SMTP with asterisk (*) value to one or more SMTP connectors.</li> Verify that DNS is working correctly.</li> Make sure that the routing groups have connectors that connect them.</li> If you are running Exchange 2000 without Service Pack 1, apply Service Pack 1 to help determine the actual issue.</li></ol> </li> Numeric Code: 5.1.0

Possible Cause: This code indicates a general categorizer-based failure (bad address failure). An e-mail address or other attribute could not be found in the directory. This issue may occur if contact entries do not have the targetAddress attribute set. This issue occurs most frequently when MDAccess receives &quot;object not found&quot; errors from DSAccess when the Categorizer is doing the homeMDB lookup on a user.

This issue also occurs if you used Microsoft Outlook to save your e-mail message as a file and someone opens and replies to this message offline. The message property only preserves the legacyExchangeDN when Outlook delivers the message. Therefore, the homeMDB lookup may fail.

Troubleshooting: Verify the recipient address and resend the message. Verify that the recipient address is formatted correctly and that the categorizer was able to correctly resolve the recipient.</li> <li>Numeric Code: 5.1.1

Possible Cause: <ul> <li>The e-mail account does not exist at the organization the message was sent to. This issue may occur if there was a problem when users were moved between sites. For example, if a former Administrative_Group_1 user moves to Administrative_Group_2 and then replies to an old e-mail message, or if the user does not re-create his or her Outlook profile, an old Administrative Group style LegDN address will be used, and an NDR is generated.</li> <li>The message was sent to obsolete personal address book entries.</li> <li>The categorizer rejected delivery because you configured your SMTP contact with see comment SMTP RFC821 characters.</li></ul>

Troubleshooting: Use the troubleshooting procedure described for numeric code 5.1.0.</li> <li>Numeric Code: 5.1.3

Possible Cause: Bad address syntax. For example, a contact is configured with a targetAddress attribute that has no address type.

Troubleshooting: Use the troubleshooting procedure described for numeric code 5.1.0.</li> <li>Numeric Code: 5.1.4

Possible Cause: Two objects have the same proxy address, and mail is sent to that address. This issue may also occur if the recipient does not exist on the remote server.

Troubleshooting: Verify the recipient address and resend the message.</li> <li>Numeric Code: 5.1.6

First Available: Exchange 2000 Service Pack 2

Possible Cause: The user directory attributes, such as homeMDB or msExchHomeServerName, may be missing or corrupted.

Troubleshooting: Verify the integrity of the user directory attributes, and then run the Recipient Update Service again to make sure that the attributes that are required for transport are valid.</li> <li>Numeric Code: 5.1.7

First Available: Exchange 2000 Service Pack 2

Possible Cause: The sender has a malformed or missing mail attribute in the directory structure. The Transport categorizer cannot deliver the mail item without a valid mail attribute.

Troubleshooting: Verify the sender directory structure and determine whether the mail attribute exists.</li> <li>Numeric Code: 5.2.1

Possible Cause: Local mail is refused because the message is too big. An absent Master Account Security ID number (SID) on the recipient can also cause this error message.

Troubleshooting: Verify access permissions in addition to the message size. Determine if the recipient has an SID.</li> <li>Numeric Code: 5.2.2

First Available: Exchange 2000 Service Pack 3 (previously 4.2.2 in earlier release).

Possible Causes: The recipient's mailbox is over its storage limit.

Troubleshooting: Verify the mailbox storage and the queue storage quota limit.</li> <li>Numeric Code: 5.2.3

Possible Cause: The message is too large for the local quota. For example, a remote Exchange user may have delivery restrictions set with max incoming message size.

Troubleshooting: Resend the message without attachments, or set the server side limit or the client side limit to permit a larger message size.</li> <li>Numeric Code: 5.3.0

First Available: Exchange Server 2003

Possible Causes: Exchange Server 2003 has a feature that permits Exchange 2003 to operate without the Message Transfer Agent (MTA). If a message was sent incorrectly by using the MTA route, this delivery status notification is returned to the sender.

Note Although Exchange 2003 can operate without the MTA, Microsoft does not recommend or support this configuration.

To turn on this feature and to prevent the messages from queuing to the MTA, follow these steps: <ol> <li>Disable the MTA service.</li> <li>Set the DWORD value to 0 in the following registry subkeys for every information store database and public folder store:

When you do this, you are making store resources that are associated with MTA delivery available.</li> <li>Restart the information store.</li></ol>

Troubleshooting: Check your routing topology. Use the WinRoute tool to make sure that the routes are correctly replicated between servers and routing groups.</li> <li>Numeric Code: 5.3.3

Possible Cause: The Exchange 2000 remote server or the Exchange 2003 remote server is out of disk storage to hold mail. This issue occurs most frequently when the sending server is sending mail with binary DATA (BDAT). This code may also indicate an SMTP protocol error.

Troubleshooting: Make sure the remote server has sufficient storage to hold mail, and examine the SMTP protocol log for errors.</li> <li>Numeric Code: 5.3.5

Possible Cause: A loop-back situation where the server is configured to loop back on itself was detected.

Troubleshooting: If you have multiple SMTP virtual servers that are configured on your Exchange computer, make sure that they are serving unique incoming ports and that the outgoing SMTP port configuration is valid to avoid looping between local virtual servers. Check the configuration of the server's connectors for loops. For example, make sure that no connectors exist that have the address space of the local organization, unless you share the domain and you do not select Use DNS to route to each address space on this connector. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

321721 Sharing SMTP address spaces in Exchange 2000 Server and Exchange Server 2003

Make sure that if there are multiple virtual servers, that none are set to All Unassigned.</li> <li>Numeric Code: 5.4.0

First Available: Exchange 2000 Service Pack 1

Possible Causes: <ul> <li>An authoritative host was not found in DNS.</li> <li>The smarthost entry is incorrect.</li> <li>FQDN name in HOSTS file. This issue was fixed in Windows 2000 Service Pack 3 (SP3).</li> <li>There was a DNS failure or you constructed an invalid IP address for your smarthost. *</li> <li>SMTP VS does not have a valid FQDN, or your SMTP VS FQDN lookup failed.</li> <li>A contact's SMTP domain does not resolve to any SMTP address spaces.</li></ul>

Troubleshooting: Use Nslookup to check the DNS. Verify that the IP address is in IPv4 literal format. Verify that there is a valid DNS entry for the server or computer name in question. If you are relying on the FQDN in HOSTS file, ignore it and update the entry in Exchange System Manager with valid IP address or correct name.</li> <li>Numeric Code: 5.4.4

First Available: Exchange 2000 Service Pack 1

Possible Cause: No route to message, next hop not found. You have set up a Routing Group topology but there is no Routing Group Connector set up between the Routing Groups.

Troubleshooting: Add or configure your Routing Group Connector between Routing Groups.</li> <li>Numeric Code: 5.4.6

Possible Cause: A Categorizer forward loop was detected.

The targetAddress attribute is set on a mailbox-enabled user. Hosting Pack: This is a common hosting configuration problem when someone creates a contact in organizational unit (OU) 1 and then creates a user in OU 2 that has the same e-mail address by using the user provisioning tool.

Troubleshooting: <ul> <li>This issue occurs when contactA has an alternate recipient that points to contactB and contactB has an alternate recipient that points back to contactA. Check the alternative recipient for every contact.</li> <li>Check and remove the targetAddress attribute from mailbox-enabled users.</li> <li>For hosting where you want to send mail from one user in one company (OU) to another company (OU), it is best to configure the following two related objects:

User: SMTP proxy: user@company.com

Contact: targetAddress: user@company.com; SMTP proxy: contact@company2.com

</li></ul> </li> <li>Numeric Code: 5.4.8

First Available: Exchange 2000 Service Pack 1

Possible Cause: This code indicates a looping condition. This issue may occur if one of the recipient policies includes a local domain that matches the FQDN of an Exchange server in the organization. When the Transport Categorizer processes e-mail that is destined for a domain that matches the FQDN of an Exchange server, an NDR with this code is generated.

Troubleshooting: If this issue occurs because of a domain that matches the FQDN of an Exchange server in the recipient policy, you must remove that entry.</li> <li>Numeric Code: 5.5.0

First Available: Exchange 2000 Service Pack 1

Possible Cause: Generic protocol error (SMTP error). The remote SMTP response to our EHLO with a 500 level error and the sending system will QUIT the connection and report this with NDR indicating the remote SMTP server cannot handle the protocol. (For example, if a Hotmail account is no longer active, a 550 SMTP error will occur.)

Troubleshooting: Run an SMTP Log or a Network Monitor trace to see why the remote SMTP server rejects the protocol request.</li> <li>Numeric Code: 5.5.2

Possible Cause: This refers to a general protocol error when SMTP protocols are out of sequence. For example, an SMTP protocol error occurs when AUTH is tried before EHLO. In one observation, this occurred when the system was experiencing an out of disk condition.

Troubleshooting: Run SMTP Log or Network Monitor trace and make sure that there is enough disk storage and virtual memory for SMTP to operate.</li> <li>Numeric Code: 5.5.3

Possible Cause: Too many recipients on the sent message.

Troubleshooting: The recipient limit is a configurable limit on the receiving server. To resolve this issue, either increase the recipient limit, or break up the message into multiple messages to fit the server limit.

Note The default recipient limit on a Simple Mail Transfer Protocol (SMTP) message is 5000. To set this limit, start the Exchange System Manager, click the Global Settings node, right-click Message Delivery, and then click Properties. This can also be a per-user setting in the Active Directory.</li> <li>Numeric Code: 5.6.3

First Available: Exchange Server 2003

Possible Causes: <ol> <li>The message contains more than 250 attachments. More than 250 attachments cause the MAPI_E_TOO_BIG error.</li> <li>Mail has been sent with a malformed addr822 header.</li></ol>

Troubleshooting: <ol> <li>Reduce the number of attachments in the message, and then resend the message.</li> <li>Correct the header. The error is misleading, as it indicates the NDR occurs because of the malformed P2 headers.</li></ol> </li> <li>Numeric Code: 5.7.1

Possible Causes: <ul> <li>General access denied, sender access denied - the sender of the message does not have the privileges required to complete delivery.</li> <li>You are trying to relay your mail through another SMTP server and it does not permit you to relay.</li> <li>The recipient might have mailbox delivery restrictions enabled. For example, a recipient's mailbox delivery restriction was set to receive from a Distribution List only and non-members' email will be rejected with this error.</li> <li>For Exchange Server 2003, a distribution list can be configured to restrict mail delivery from unauthenticated users. Mail that is sent by using an unauthenticated SMTP session are rejected.</li></ul>

Troubleshooting: Check system privileges and attributes for the contact and retry the message. Also, make sure you are running Exchange 2000 Service Pack 1 or later for other potential known issues.</li></ul>

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

256321 Enhanced status codes for delivery - RFC 1893

Additional query words: inbound in outbound out queue postmaster administrator reject rejected dsn smtp XCON

Keywords: kbinfo KB284204

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.