Matt Parkinson – Notebook
Technical Fixes
-
Windows Server 2008 SMTP Logging Not Working
Posted on May 6th, 2010 No commentsYesterday I was trying to debug my SMTP service by using the built in IIS logging feature. I enabled logging the same way I always have done in 2003 by selecting the SMTP server properties however no logs were being generated. After a few different attempts I went back into the server manager and took a look at the IIS role and found that there was a “Health and Diagnostics” section in the role services of which one of the options was “ODBC Logging”. As soon as I installed this and restarted the SMTP service logging began to work. If you have a similar issue you can check that ODBC Logging is installed by following the instructions below:
- Go to Start > Server Manager
- Expand Roles
- Scroll down in the right hand pane until you find Web Server (IIS)
- Click “Add Role Services” from the right hand side
- Scroll down and find “ODBC Logging” and tick the box if it is not already ticked and then click the “Install button”

- Go to start > run and type in services.msc
- Find the “Simple Mail Transfer Protocol (SMTP)” service and press restart
- Browse to “C:\Windows\System32\LogFiles\SMTPSVC1″ and check the logs are now being created


