Cry Exchange 2010 How To...

How to enable SMTP receive logging

To enable logging of inbound SMTP emails:

  1. Start Exchange Management Console
  2. Navigate to:
    Microsoft Exchange → Microsoft Exchange On-Premises (server) → Server Configuration → Hub Transport
  3. 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).
  4. In the lower pane, in the "Receive Connectors" tab right click on the SMTP connector and select "Properties".
  5. 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 C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive

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: 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.