How to troubleshoot Basic SMTP Delivery Problems

By | 2008-06-11

The following are basic steps that a mail admin can take to determine the cause of an SMTP mail delivery problem. This procedure assumes that an Exchange IMS is deployed using DNS lookups, rather than forwarding SMTP to an a third part gateway or relay host.

Basic things to check

  • Is your IMS running?
  • Is your firewall configured to allow your IMS server to have a dedicated IP address seen from the Internet.
  • Is your IMS server correctly configured for DNS lookup via it”s TCP/IP{ protocol settings?
  • If your IMS is part of a Microsoft cluster, you need to register all three IP addresses.  That is the IP of each individual node, as well as the cluster server IP.
  • Are your DNS records in order in order.  Your IMS server should have both, a forward lookup address (A record) as well as a reverse lookup (PTR).
  • If you are running a file level antivirus application, ensure that your \imcdata folders are excluded, from real time, and scheduled scanning.  Be sure to cover sub-folders as well.

Check SMTP Connnectivity

  • Log onto the console of your IMS box and bring up a command window.
  • From the command prompt, run ”nslookup”.  Nslookup will greet you with it”s own command prompt.
  • From the nslookup prompt, type ”set type=mx”
  • From the nslookup prompt, type the name of domain you are haveing trouble sending mail to.

    > YourDomainName.com
    Server: unicom01.schp.com
    Address: 10.32.16.167

    YourDomainName.com MX preference = 10, mail exchanger = mx01-dom.ProviderDomainName.net
    YourDomainName.com MX preference = 10, mail exchanger = mx00-dom.ProviderDomainName.net
    YourDomainName.com nameserver = DNS3.ProviderDomainName.net
    YourDomainName.com nameserver = DNS2.ProviderDomainName.net
    YourDomainName.com nameserver = DNS1.ProviderDomainName.net
    mx01-dom.ProviderDomainName.net internet address = 207.217.120.136
    mx00-dom.ProviderDomainName.net internet address = 207.217.120.135
    DNS3.ProviderDomainName.net internet address = 207.217.120.13
    DNS2.ProviderDomainName.net internet address = 207.217.77.12
    DNS1.ProviderDomainName.net internet address = 207.217.126.11
  • Start with the server that has the highest mx preference, which would be the lowest number.  (In this case there are two servers with equal preference of MX preference = 10  ).  Find the corresponding ”A Record” from the query, and write down the IP address. (In this case, mx01-dom.ProviderDomainName.net internet address = 207.217.120.136 ).
  • Exit out of nslookup, by typing ”exit”.  Proceed to the following link located on this site, and return here when finished.

Conclusion

The most common point of failure occurs at the DNS level lookup.  Any step in the previous procedure which failed, will needed to be diagnosed and corrected, before any other actions are taken, as these steps check the most basic functions of SMTP communications.  If no problems are found, using the previous steps, try turning up SMTP protocol diagnostic logging for short periods of time, (keep available free disk in mind).  This will generate detailed logs, which contain all SMTP commands processed by your IMS, and what the receiving SMTP servers responses were.

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.