iis

How to Enable Logging for IIS SMTP Server in Windows 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.

Fix for Error 1363 - Could Not Start the World Wide Web Publishing Service on Local Computer

If you try to start or restart the World Wide Web Publishing Service on a Windows Server 2003 system with IIS 6 and you get this error, here is the fix for it.

Error 1363 -  Could Not Start the World Wide Web Publishing Service on Local Computer

"Could not start the World Wide Web Publishing Service service on Local Computer.

Error 1363: Cannot start a new logon session with an ID that is already in use."

Open a command prompt and type this command:

regsvr32 qmgr.dll

Now reboot the server and the problem is fixed. In our case, this happened after virtualizing a server and using a different NIC after it had been virtualized.

Subscribe to iis