Post Pic

Setup SMTP Logging on Windows Server 2008 by enabling the ODBC Logging module

I recently had a client who had some issues delivering mail from their site so I went to look at the SMTP logs only to find that there were none there (I am embarrassed to say). I notice that I had configured the logs to be written to a custom directory on a separate drive from the operating system and thought that may have been the issue however it turns out that there are some steps that needs to be taken in order for SMTP logging to work on Windows Server 2008. It’s odd enough that you need to use the legacy IIS 6 management console to administer your SMTP Server but there is also no obvious steps when setting up your server that indicate the requirements for SMTP logging.

To get logging working you need to install the ODBC Logging module by following these steps:

  1. On the taskbar, click Start, point to Administrative Tools, and then click Server Manager.
  2. In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS).
  3. In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services.
  4. On the Select Role Services page of the Add Role Services Wizard, select ODBC Logging, and then click Next.
  5. ODBC Logging - How to enable
  6. On the Confirm Installation Selections page, click Install.
  7. On the Results page, click Close.

Umbraco Certified Developer
SagePay Approved Partner
Creative Market