Microsoft KB Archive/319881

= XCON: How to Troubleshoot Exchange Server 5.5 Behind Proxy Server 2.0 =

Article ID: 319881

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q319881



SYMPTOMS
You may not be able to send outbound Internet e-mail or receive inbound Internet e-mail from behind a proxy server. This article explains how to troubleshoot Exchange Server 5.5 when it is used with Microsoft Proxy Server 2.0.



RESOLUTION
To troubleshoot e-mail flow issues from Exchange Server to Internet recipients from behind Proxy Server, follow these steps:  Test e-mail flow from at least two different internal user accounts by sending e-mail to at least two different e-mail domains. Can users send e-mail to external Internet domains?

 NO. Continue. YES. If some users can send e-mail or if some domains can be sent to, troubleshoot the server and its connectivity to the remote domains in question before you continue to troubleshoot the Proxy Server computer. To start troubleshooting, set up the SMTP Protocol Log, and then try to telnet to the remote domain's e-mail server on port 25. For additional information about how to do this, click the article numbers below to view the articles in the Microsoft Knowledge Base:

153119 XFOR: Telnet to Port 25 of IMC to Test IMC Communication

257538 XFOR: How to Obtain Additional Information from Internet Mail or Unsolicited Commercial E-Mail

NOTE: Find out whether more than one Internet Mail Service exists.  Do users receive non-delivery reports (NDRs) when they send e-mail to Internet recipients, or do Internet originators receive an NDR when they send e-mail to the Exchange Server users?

 NO. Continue. YES. Check the NDR for the reasons why they are being sent. (For example, see whether the NDR includes &quot;MSEXCH:IMS:Org:Site:Srvr Host unreachable&quot; or &quot;MSEXCH:MTA:Org:Site:Srvr Unknown Recipient&quot;.)</li></ul> </li> Are the messages remaining in the Exchange Server Internet Mail Service Queues?

 NO. Continue.</li> YES. View the details of the message.

Under Recipients, what reason is given? (For example, &quot;Host Unreachable&quot; or &quot;Network Error During Host Resolution&quot;.)</li></ul> </li> Are all core Exchange Sever services and the Internet Mail Service started without errors in the Application and System Log?

 NO. Search the Microsoft Knowledge Base for information about the errors.

NOTE: If the Internet Mail Service does not start properly, remove the Proxy Client and Wspcfg.ini files from the server, and then try to start the Internet Mail Service.

For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

181847 XADM: How to Configure Exchange Server with Proxy Server

If the Internet Mail Service continues to fail, check the Application log for errors.</li> YES. Continue.</li></ul> </li> Are the Exchange Server computer and proxy server and their respective operating systems using the latest service packs?

 NO. Update both servers by using the latest service packs or builds (hotfixes).</li> YES. Continue.</li></ul> </li> Is there antivirus software running on the Exchange Server computer?

 NO. Continue.</li> <li>YES. Temporarily turn off all antivirus software for troubleshooting.

NOTE: With some antivirus software, you may have to remove the antivirus software completely before you continue.</li></ul> </li> <li>Does e-mail flow when you change the Internet Mail Service settings on the Connections tab to Forward all messages to host instead of Use domain name system (DNS) or vice versa? (To view the Connections tab, select the appropriate Internet Mail Service in the Microsoft Exchange Administrator program, and then click Properties on the File menu.)

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

182339 XFOR: Verifying the Configuration of an Internet Mail Service

<ul> <li>NO. Continue.</li> <li>YES. This may not be a Proxy Server problem; it may be a common Internet Mail Service issue. Do telnet tests and resolution tests to rule out possible causes.</li></ul> </li> <li>Is there more than one network adapter network adapter or IP address associated with the Exchange Server computer?

<ul> <li>NO. Continue.</li> <li>YES. Check the binding order of the network adapters. The internal network adapter should be listed first using TCP/IP. Verify that the IP addresses are correct and all settings match proper configuration (For example, check the Subnet mask, gateway address, DNS, and WINS.)</li></ul> </li> <li>Is the Proxy client loaded and started on the Exchange Server computer?

<ul> <li>NO. Install the client. For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

181847 XADM: How to Configure Exchange Server with Proxy Server

</li> <li>YES. Continue.</li></ul> </li> <li>Are the Wspcfg.ini files installed properly on the Exchange Server computer?

<ul> <li>NO. Install the INI files. For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

181847 XADM: How to Configure Exchange Server with Proxy Server

</li> <li>YES. Continue.</li></ul> </li> <li>Can the Exchange Server computer ping the proxy server by using the fully qualified domain name (FQDN) of the proxy server or the IP address?

<ul> <li>NO. Network communication problems may exist. Troubleshoot connectivity and resolution.</li> <li>YES. Continue.</li></ul> </li> <li>Log on to the Exchange Server computer. Can you telnet directly to the local Exchange Server computer's IP address on port 25 and verify that the Internet Mail Service answers? (Microsoft Exchange Internet Mail Service 5.5.26XX.XX)

<ul> <li> NO. Stop all other Simple Mail Transfer Protocol (SMTP) services on the server, and then start the Internet Mail Service service.

NOTE: If Internet Mail Service is started, type NETSTAT -anp tcp |more at a command prompt on the Exchange Server computer, and then verify that port 25 is listening. You should see the following: <pre class="fixed_text">Proto Local Address Foreign Address State TCP 0.0.0.0:25 0.0.0.0:0 LISTENING If port 25 is listening but not answering, restart the service or reinstall the Internet Mail Service. </li> <li>YES. Continue.</li></ul> </li> <li>When you telnet to the local Exchange server on port 25, can you send yourself a test message?

For additional information about using Telnet, click the article number below to view the article in the Microsoft Knowledge Base:

153119 XFOR: Telnet to Port 25 of IMC to Test IMC Communication

<ul> <li>NO. If you cannot send a test message, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Identify where that message is located.</li> <li>Check the configuration of the Internet Mail Service.</li> <li>Turn on Message Tracking and track the message.</li></ol> </li> <li>YES. Continue.</li></ul> </li> <li> At a command prompt on the proxy server, type NETSTAT -ANP TCP |MORE, and then press ENTER

Is port 25 listening on the local address? You should see the following: <pre class="fixed_text">Proto Local Address Foreign Address State TCP 0.0.0.0:25 0.0.0.0:0 LISTENING <ul> <li>NO. Check the Wspcfg.ini file and Proxy Client on the Exchange Server. Restart Proxy, and then restart Exchange.</li> <li>YES. Continue.</li></ul> </li> <li>From an external client, can you telnet to the public IP address of the Proxy Server on port 25 and verify that Exchange Server answers?

For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

153119 XFOR: Telnet to Port 25 of IMC to Test IMC Communication

<ul> <li>NO. If another service answers, identify and turn this service off. Try to telnet from the Proxy Server to the external IP address on port 25. If still no answer, go back to step 13.</li> <li>YES. Continue.</li></ul> </li> <li>From this telnet session to the public IP address of the proxy server on port 25, can you send a test message to a user?

For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

153119 XFOR: Telnet to Port 25 of IMC to Test IMC Communication

<ul> <li>NO. Do you receive an NDR? Track the Message if you have to.</li> <li>YES. Continue.</li></ul> </li> <li>From the Exchange Server computer, can you telnet on port 25 to an external e-mail server and send a test message?

For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

153119 XFOR: Telnet to Port 25 of IMC to Test IMC Communication

<ul> <li>NO. Try to telnet to another external e-mail server. If this fails, telnet from the proxy server or from the external router to the external e-mail server.</li> <li>YES. Continue.</li></ul> </li> <li>Are there any other servers or network components between the Exchange Server computer, Proxy Server, and Internet?

<ul> <li>NO. Continue.</li> <li>YES. If possible, bypass these components, check configuration, or try to telnet from these services to the internal or remote e-mail servers on port 25.</li></ul> </li> <li>Does e-mail flow when you remove the Proxy Client from the Exchange Server computer?

<ul> <li>NO. Reapply the client, and the Wspcfg.ini files. Restart the server, and then continue troubleshooting.</li> <li>YES. Check the Proxy Server configuration or contact Microsoft Proxy Support.</li></ul> </li> <li>Does the proxy server have a predefined filter for SMTP on the WinProxy service?

(In Internet Service Manager, right-click the WinSock Proxy service, click Properties, and then click Security to view the filter settings.)

<ul> <li>NO. Add this filter and Restart both Proxy and Exchange servers.</li> <li>YES. Continue.</li></ul> </li></ol>

If you answered the preceding questions and found no problems at each step, you should have proper e-mail flow. If you still do not have good e-mail flow, either continue with the following options or contact Microsoft Support services (Exchange XCON or Proxy Services).

Additional Exchange Server Troubleshooting Steps
<ol> <li>Remove the Proxy Client and the Internet Mail Service completely, and then restart the server.</li> <li>Reinstall the Internet Mail Service (keep the default values) and the Proxy Client.</li> <li>Reinstall the service packs for the operating system and for Exchange Server.</li> <li>Set the Exchange Server's Diagnostic Logging Category SMTP PROTOCOL LOG to MAXIMUM and view any errors.

For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

257538 XFOR: How to Obtain Additional Information from Internet Mail or Unsolicited Commercial E-Mail

NOTE: This log is useful as long as e-mail is flowing in at least one direction.</li></ol>

Additional Proxy Server Troubleshooting Steps
<ol> <li>Reinstall the service packs for the operating system and for Microsoft Proxy Server on the proxy server.</li> <li>Capture the network traffic by using Network Monitor and view for errors.

For additional information about how to do this, click the article number below to view the article in the Microsoft Knowledge Base:

148942 How to Capture Network Traffic with Network Monitor

</li></ol>

For additional information about troubleshooting Exchange behind Proxy, click the article numbers below to view the articles in the Microsoft Knowledge Base:

178532 XFOR: Configuring Exchange Internet Protocols with Proxy Server

181420 How to Configure Exchange or Other SMTP with Proxy Server

181847 XADM: How to Configure Exchange Server with Proxy Server

182339 XFOR: Verifying the Configuration of an Internet Mail Service

222553 XFOR: IMC Events 4020, 4007 with Error 10048: Winsock Failed to Initialize

256145 Use Network Monitor to Determine Proxy Server Configuration

258022 Configure Proxy Server to Proxy Multiple Exchange Servers

276388 XIMS: How to Configure Exchange 2000 Behind Proxy Server 2.0

Additional query words: front page

Keywords: kbprb KB319881

-

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

© Microsoft Corporation. All rights reserved.