Share via


How can I see real time smtp logs on Exchange 2010

Question

Saturday, January 15, 2011 6:33 PM

How/where can I see real time smtp logs on Exchange 2010?

Thankyou in advance.

Fabio Martins MCDST/MCSA

All replies (4)

Saturday, January 15, 2011 6:54 PM ✅Answered | 1 vote

SMTP logging is diabled by default. You can read about it and hot to enable it at these links.

Understanding Protocol Logging: http://technet.microsoft.com/en-us/library/aa997624.aspx

Configuring Protocol Logging: http://technet.microsoft.com/en-us/library/bb124531.aspx

 

Microsoft Premier Field Engineer, Exchange
MCSA 2000/2003, CCNA
MCITP: Enterprise Messaging Administrator 2010
Former Microsoft MVP, Exchange Server
My posts are provided “AS IS” with no guarantees, no warranties, and they confer no rights.


Saturday, January 15, 2011 8:05 PM ✅Answered | 3 votes

Thankyou Brian.

That was exactly what i was looking for.

Set-ReceiveConnector "My Receive Connector Name" -ProtocolLoggingLevel Verbose
Set-SendConnector "My Send Connector Name" -ProtocolLoggingLevel Verbose

And could see the logs on

 C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog

 

 

Fabio Martins MCDST/MCSA


Wednesday, September 7, 2011 7:06 PM

Wait, what about those of us who use Client Access Arrays?  The services are all clustered.  Does one have to examine all the members of the array that use the Hub Transport role?


Wednesday, September 7, 2011 8:04 PM

You'll need to examine  the logs of all of the hub transport servers that could potentially be receiving the emails you want to check the log entries for. 

Doesn't really matter if you're clustered or not. For receive connectors you could be implementing load balancing / fault tolerance in MX without doing any clustering at all.

[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "