The official blog for Windows Server Essentials and Small Business Server support and product group communications.
[Today's post comes to us courtesy of Shawn Sullivan]
“Unable to send email to certain domains” is a top call generator for Exchange issues on SBS. Due to its nature and the fact that all domains are not affected, the problem rarely lies with the SBS server. Several factors exist outside of the server configuration that can cause delivery failure to a remote mail server. This post is meant to be a quick guide to assist you in troubleshooting some common scenarios. It is not a comprehensive guide to SMTP troubleshooting.
First of all, **BE SURE TO READ THE NDR**. This is the most readily available piece of information that you have. It will tell you which mail server issued the notification and why, often leading you to the answer or at least in the right direction.
Who generates the NDR?
If the remote server accepts our message and then finds out after the fact that it cannot be delivered to the user’s mailbox, the remote server then must generate an NDR to notify the sender of the delivery failure. An example of this could be:
Your message did not reach some or all of the intended recipients. Subject: test Sent: 12/6/2007 3:35 PM The following recipient(s) could not be reached: User1 on 12/6/2007 3:49 PMThe message could not be delivered because the recipient's mailbox is full.<contoso.com #5.2.2>
If the remote server does not accept our mail, it will issue an SMTP error, at which point our SBS server is responsible for generating the NDR. The NDR will include the SMTP error code. Here’s an example:
Your message did not reach some or all of the intended recipients. Subject: test Sent: 12/6/2007 4:14 PM The following recipient(s) could not be reached: user1@contoso.com on 12/6/2007 4:14 PMThe 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.<adventureworks.com #5.1.1 smtp;550 5.1.1 User unknown>
If the message sits in the queue because the SBS server cannot connect to the remote server, then SBS will issue an NDR according to the expiration timeout configured on the SMTP virtual server. An example of this could be:
Your message did not reach some or all of the intended recipients. Subject: FW: test Sent: 12/4/2007 9:29 AM The following recipient(s) could not be reached: user1@contoso.com on 12/4/2007 9:35 AMCould not deliver the message in the time limit specified. Please retry or contact your administrator.<SERVER1.adventureworks.local #4.4.7>
This is important because the generation of NDRs by the SBS server does not automatically mean that the issue is with SBS.
Determining possible causes of an NDR
You can view the following Technet link for NDR diagnostic codes and troubleshooting tips:http://technet.microsoft.com/en-us/library/bb124840.aspx
Common Scenarios
The following are common scenarios we see in support calls. As stated before, this list does not cover all possibilities, but provides a guide you can use to troubleshoot your incident.
Other Resources:
KB 256321 Enhanced Status Codes for Delivery - RFC 1893 http://support.microsoft.com/default.aspx?scid=kb;EN-US;256321
For SBS Monitoring Alerts not being delivered, see: http://blogs.technet.com/sbs/archive/2006/03/13/421943.aspx
For troubleshooting mail flow and transport related issues in Exchange, try the Exchange Troubleshooting Assistant: http://www.microsoft.com/downloads/details.aspx?FamilyID=4bdc1d6b-de34-4f1c-aeba-fed1256caf9a&DisplayLang=en
The Microsoft Exchange Team Blog: http://msexchangeteam.com/
The Official SBS Blog : What to Check When Exchange Cannot Send Email to Certain Domains: http://blogs
Can someone recommend some 3rd party smart hosts?