Microsoft KB Archive/115492

= SMTP: Troubleshooting the TCP/IP Layer of the Mail Gateway =

Article ID: 115492

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Mail Gateway to SMTP 3.0

-



This article was previously published under Q115492



SUMMARY
If the SMTP gateway cannot connect to the mail routing host or receive incoming mail, the TCP/IP layer may not be working properly. This article describes how to troubleshoot the IP and TCP layers.



Testing the IP Layer
To test the IP layer, use the PING command from the gateway computer up to the host and from the host down to the gateway computer:  Test the network adapter with the loopback IP address:

ping 127.0.0.1

If this test fails, then the problem is related to the network interface card (NIC). Test the connection on the local subnet:

ping

where is the IP address of a host on the same subnetwork. If this fails, then the subnet mask is configured incorrectly. Test the connection to the default gateway:

ping

where is the IP address of the default gateway, also known as a router. If this test fails, then you have an incorrect IP address for the default gateway, or the gateway is down. Test the connection to a remote subnet:

ping

where is the IP address of a host on another subnet. If this fails, then the connectivity problem is most likely on the remote side. Test the DNS name resolution:

ping 

where  is something like smarthost.microsoft.com If this fails, then either the DNS entry in the TCP/IP configuration is incorrect or the DNS server is having problems providing name service at this time.</ol>

If this works, you receive a response indicating how many packets were bounced off the destination host. Successful completion of these commands means the IP layer is working correctly.

Testing the TCP Layer
To test the TCP layer, use the TELNET command with a "25" after the host ID or IP address to specify the mail socket. Run it from the gateway computer up to the host and from the host down to the gateway computer:

telnet tcpiphost.company.com 25 telnet msmailgwy.company.com 25

NOTE: You can't run the second command unless the gateway is running.

If this succeeds, you receive the response "220 ...." from the destination host. Type quit to end the test. Successful completion means the TCP layer is working.

NOTE: If you use -cd (debug) and -lacsy (full logging) the 220 response is recorded in the LOG file.

Additional query words: 3.00 errors

Keywords: KB115492

-

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

© Microsoft Corporation. All rights reserved.