Microsoft KB Archive/282497

= XIMS: How to Get a List of Current SMTP Connections by Using a Command Prompt =

Article ID: 282497

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange Server 4.0 Standard Edition
 * Microsoft Exchange Server 4.0 Service Pack 1
 * Microsoft Exchange Server 4.0 Service Pack 2
 * Microsoft Exchange Server 4.0 Service Pack 3
 * Microsoft Exchange Server 4.0 Service Pack 4
 * Microsoft Exchange Server 4.0 Service Pack 5
 * Microsoft Exchange Server 5.0 Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition
 * Microsoft Windows NT 4.0
 * Microsoft Windows 2000 Standard Edition

-



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 &quot;smtp&quot;

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 &quot;smtp&quot;

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

Additional query words: thread multiple threads inbound outbound in out incoming outgoing

Keywords: kbhowto KB282497

-

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

© Microsoft Corporation. All rights reserved.