How to Enable Logging for IIS SMTP Server in Windows Server

Printer-friendly versionPDF version
IIS SMTP Server

If you have the SMTP feature installed (an SMTP server that works through IIS), logging is not enabled by default. To enable logging, perform the following steps:

Click on Start > Administrative Tools > Internet Information Services (IIS) 6.0 Manager. Expand your SMTP server and right click on your SMTP Virtual Server. Choose Properties:

IIS_SMTP_Server_Enable_Logging_1

 

Check "Enable logging" and click on Properties:

IIS_SMTP_Server_Enable_Logging_2

 

The log file directory is where the logs will be stored. In this case, it is C:\Windows\System32\LogFiles\SmtpSvc1\exyymmdd.log. Click on the Advanced tab to configure logging:

IIS_SMTP_Server_Enable_Logging_3

 

For the most detailed logging, check everything and click ok:

IIS_SMTP_Server_Enable_Logging_4

Logging is now enabled.

Post new comment