Configure Windows 2008 SMTP Server – Setup Logging

 

While this Blog post will not dive into installing SMTP server on a Windows 2008 machine, it will cover the configuration.

 
Step 1: To Configure Windows 2008 SMTP Server, you actually have to open up the IIS6 services. Do this by going to start / Run and type “MMC”.

Windows 2008 SMTP Configuration

 

Step 2: Go to File / Add/Remove Snap-in…

Windows 2008 SMTP Configuration-002

 

Step 3: Choose IIS 6.0

Windows 2008 SMTP Configuration-003

 

Step 4: Right click the SMTP Virtual Server and go to Properties

Windows 2008 SMTP Configuration-005

 

Step 5: Check Enable Logging
Windows 2008 SMTP Configuration-008

Optional Step 7: Configure Logging

My recommended SMTP logging configuration

Check “Use local time for file naming and rollover”

Go to Advanced and check the following

* Date
* Time
* Client IP Address (c-ip)
* Service Name ( s-sitename )
* Server Port ( s-port)
* Method (cs-method)
* URI Stem ( cs-uri-stem )
* URI Query (cs-uri-query )
* Protocol Status (cs-status )
* Protocol Substatus ( sc-substatus )
* Win32 Status ( sc-win32-status )
* Protocol Version ( cs-version )