XIMS: How to Get a List of Current SMTP Connections by Using a Command Prompt (282497)



The information in this article applies to:

  • Microsoft Exchange 2000 Server
  • Microsoft Exchange Server 4.0
  • Microsoft Exchange Server 4.0 SP1
  • Microsoft Exchange Server 4.0 SP2
  • Microsoft Exchange Server 4.0 SP3
  • Microsoft Exchange Server 4.0 SP4
  • Microsoft Exchange Server 4.0 SP5
  • Microsoft Exchange Server 5.0
  • Microsoft Exchange Server 5.5
  • the operating system: Microsoft Windows NT
  • the operating system: Microsoft Windows 2000

This article was previously published under Q282497

SUMMARY

This article describes how to use a command line to get a list of current Simple Mail Transfer Protocol (SMTP) connections to and from a server.

MORE INFORMATION

To get a list of SMTP connections to and from a server, use either of the following methods:
  • On the server, start a command prompt, and then type the following command:

    netstat |find "smtp"

    where the string above includes the pipe character (|) before the find command-line option.

    -or-
  • Create a batch file to simplify this procedure. To do this, create a new batch file, copy the following text into the file, and then save it to a folder that can be found in your path statement:

    @netstat |find "smtp"

    where the string above includes the at symbol (@) at the beginning of the string and the pipe character (|) before the find command-line option.

Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kbhowto KB282497