Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Free diagnostic tool for SMTP servers
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Free diagnostic tool for SMTP servers


Serdar Yegulalp
04.13.2005
Rating: -4.56- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


As informative as diagnostic logs can be, it often helps to have detailed step-by-step feedback about the behavior of one's SMTP server. This way, if there is a failure in some obscure step of the process (such as an invalid DNS record or a port blockage), it can be detected immediately.

Microsoft has created a free tool called SMTPDiag to do exactly that. It's a command-line diagnostic program that produces a detailed report about every step of the process involved in sending mail via SMTP. Since it works using standard SMTP protocols and not the Exchange/MAPI application program interface, it can be used on Internet Information Server (IIS), Exchange, or any industry-standard SMTP server.

The program takes at least two arguments: a sender and a recipient e-mail address. You can also specify a –d switch to provide a target DNS server; otherwise, the default DNS lookups will be used. (This cannot be used when sending e-mail via IIS.) The /v option provides verbose feedback and probably should be enabled by default, since the more detailed the information the program provides, the better.

When launched, SMTPDiag attempts to verify the start of authority records for the remote domain, and attempts to do this through both UDP and TCP queries. (If both UDP and TCP queries fail, this is the first sign something's wrong.)

It then resolves the local and remote MX/A records to make sure they exist, connects to all available mail servers published as MX records, does an EHLO, and attempts to perform a send. If any particular record or connection fails, it'll be annotated in the program's output (which is echoed to stdio).

SMTPDiag color-codes its output for easy analysis. Anything green indicates a success; anything red indicates a failure.

About the author: Serdar Yegulalp is editor of the Windows 2000 Power Users Newsletter and a regular contributor to SearchExchange.com.

Do you have comments on this tip? Let us know.

More information from SearchExchange.com:

  • Tip: Built-in Exchange tool fixes SMTP components
  • Tip Library: SMTP expert technical advice
  • Please let others know how useful this tip is via the rating scale below Do you have a useful Exchange Server or Microsoft Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize.

    Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Exchange Server Administration Tips
    Top 10 Microsoft Exchange Server tips of 2008
    Database changes that enhance Exchange Server 2007 fault tolerance
    How continuous replication methods affect Exchange 2007 log shipping
    Analyzing Exchange ActiveSync data from .CSV report files
    How to run Exchange Management Shell cmdlets in Exchange Server 2007
    Eliminate .PST file use for secure email retention in Exchange 2007
    Exchange Server 2007 log shipping and continuous replication
    Benefits of backing up Exchange Server with Microsoft's DPM 2007
    Exchange Server 2007 replication and database transaction basics
    Microsoft Exchange Server 2003 database recovery methods

    Microsoft Exchange Server Administration Tools
    How to custom-configure a Microsoft Outlook 2007 install using OCT
    Top Exchange Server performance monitoring and troubleshooting tools
    Search and index Microsoft Outlook 2007 public folders
    Executing an .MSP customization file in Microsoft Outlook 2007
    Using the NTBackup tool for Exchange Server backup and recovery
    Tools to bulk modify Active Directory users in Exchange Server 2003
    Free tools keep Microsoft Outlook visible in Windows Vista
    Setting up email disclaimers and signatures in Exchange Server
    Tool deploys customized Microsoft Outlook 2007 configurations
    Third-party Exchange Server 2007 backup and restore tools
    Microsoft Exchange Server Administration Tools Research

    SMTP
    Troubleshooting Microsoft Exchange Server Event ID error 6009
    How to lock down an SMTP relay to prevent spam in Exchange Server 2003
    Tool helps identify inbound Exchange Server email flow issues
    Configure SMTP relay restrictions in Exchange Server 2003 to stop spam
    Exchange email sent to a domain using SPF authentication is returned
    Why can't POP3 clients receive Exchange Server email?
    Exchange event sink scripting error when configuring email disclaimer
    Configure SMTP connection limits in Exchange Server 2003 and SBS
    Reconfigure an existing Exchange Server user account for a new user
    Improve Exchange 2003 Internet connectivity, mail flow and performance

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    Remote Installation Service  (SearchExchange.com)
    TCPMAN  (SearchExchange.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



    Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts