Cry Exchange 2010 How To...
How to enable SMTP receive logging
To enable logging of inbound SMTP emails:
- Start Exchange Management Console
- Navigate to:
Microsoft Exchange → Microsoft Exchange On-Premises (server) → Server Configuration → Hub Transport
- If you have more than one Exchange server then you will need to select the appropriate server (but if you only have one then it will already be selected).
- In the lower pane, in the "Receive Connectors" tab right click on the SMTP connector and select "Properties".
- On the "General" tab of the receiver's properties change the "Protocol logging level" to "Verbose" (the default is "None").
Log files will now be generated on that server in the folder
When you no longer require logging change the "Protocol logging level" back to "None".
or you can do the same using the Exchange Management Shell cmdlets:
Set-ReceiveConnector "Connector-Name" -ProtocolLoggingLevel Verbose
and disable it using:
Set-ReceiveConnector "Connector-Name" -ProtocolLoggingLevel None
These notes have been tested with Exchange Server 2010.
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.