SMTP Sessions - Exchange 2007
Hi all:
Someone can help me with the way to view the current SMTP sessions in a Exchange 2007 server??
Thanks in advance.
Carlos H.
All Replies
Performance Monitor is usefull, check out the "MSExchangeTransport SmtpReceive" and "MSExchangeTransport SmtpSend" performance object.
Thanks for your reply. I been using these counters but I need to know the IP's from the current SMTP sessions like in Exchange 2003 - Protocols - SMTP - Current Sessions, is there something like that in Exchange 2007??
If you want to see the IP address of any current SMTP connections, simply use the netstat command and look for connections on port 25 (which will typically be displayed as smtp.
Code BlockC:\>netstat
Active Connections
Proto Local Address Foreign Address State
... ... ... ...
TCP EXCHANGESERVER:smtp 192.168.1.101:55958 ESTABLISHED
You can also use the protocol logging and read the textfiles. This is not giving you realtime info though, only old info.
To add to Jeff's suggestion, you can show only smtp connections:
netstat | find "smtp"
So no longer can you do it though the exchange system manager as you could in 5.5 2000 and 2003?
Administrative groups / First admin group / servers / *server name* / protocols / smtp / default smtp connector / currant connections
Seriously? the removed the ability to monitor and work with your SMTP connector like that?
That is correct. I wish it was still there too...
to correct / adjust my earlier post:
for windows 2008
------------------------------
netstat -a | "smtp"
or
netstat -a | "25"
I am attempting to find the smtp and clear the queue in 2007 exchange, can anyone help this newbee?
Thanks
- In the future, please start a new thread to ask a new question. For now, however, here is your answer: http://technet.microsoft.com/en-us/library/bb123535(EXCHG.80).aspx
- Proposed As Answer byjpeevey Monday, April 20, 2009 3:28 PM
thank you, I have an additional question and will start a new thread.
That did not work for me. Nor did netstat -a | "smtp"
C:\Users\admin>netstat -a | "25"
'"25"' is not recognized as an internal or external command,
operable program or batch file.C:\Users\admin>netstat -a | '25"
''25"' is not recognized as an internal or external command,
operable program or batch file.C:\Users\admin>netstat -a | '25'
''25'' is not recognized as an internal or external command,
operable program or batch file.C:\Users\admin>netstat -a | find '25'
FIND: Parameter format not correct- It really is too bad it is not there! someone asks me "How much traffic do you see coming from [host]?" I have no way to tell anymore. Before I could at least see that the connection was open and had been opened for however long. What an awful loss to not have that feature!
- Another option would be: netstat -a -n | findstr :25
- Edited byMike Crowley Monday, November 02, 2009 4:11 PM


