Technical Fixes
RSS icon Email icon Home icon
  • Windows Server 2008 SMTP Logging Not Working

    Posted on May 6th, 2010 Matt Parkinson No comments

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

    1. Go to Start > Server Manager
    2. Expand Roles
    3. Scroll down in the right hand pane until you find Web Server (IIS)
    4. Click “Add Role Services” from the right hand side
    5. Scroll down and find “ODBC Logging” and tick the box if it is not already ticked and then click the “Install button”
    6. Go to start > run and type in services.msc
    7. Find the “Simple Mail Transfer Protocol (SMTP)” service and press restart
    8. Browse to “C:\Windows\System32\LogFiles\SMTPSVC1″ and check the logs are now being created