Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: kb, kbbillprodsweep, kbhowto

↑ Back to the top

Article Info
Article ID : 282497
Revision : 6
Created on : 8/20/2020
Published on : 8/20/2020
Exists online : False
Views : 166