I’m a huge proponent of enabling SMTP logging on servers for diagnostic and troubleshooting purposes. Every SBS 2003 server I’ve touched over the last few years I’ve enabled SMTP logging just so that when the inevitable question “why didn’t so-and-so get this e-mail” comes, I’ve got a starting point to go look through.
As with many aspects of SBS 2008, SMTP logging is handled differently in the new SBS solution. There are several places you have to go to enable logging, but fortunately, they’re all in the Exchange Management Console.
Because Exchange 2007 handles SMTP though multiple connectors, you have to enable logging in each of the connectors. In addition to having separate send and receive connectors, there are also multiple receive connectors. Also, SMTP logging is a binary option. You either have full SMTP logging on a connector, or you have none. The following steps walk you through the process of enabling SMTP logging on the Internet Send and Internet Receive connectors in SBS 2008.
- Open the Exchange Management Console from the Start menu.
- Expand the Organization Configuration and select the Hub Transport.
- Click on the Send Connectors tab.
- Right-click on the Windows SBS Internet Send servername item and select Properties.
- From the Protocol Logging Level drop-down menu, select Verbose.
- Click Apply, then click OK.
- Expand Server Configuration and select Hub Transport.
- Click on the Receive Connectors tab.
- Right-click on the Windows SBS Internet Receive servername item and select Properties.
- From the Protocol Logging Level drop-down menu, select Verbose.
- Click Apply, then click OK.
- Repeat the process for the Default servername item and the Windows SBS Fax Sharepoint Receive servername item if desired.
- Close the Exchange Management Console.
By default, the SMTP logs are stored in C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\ProtocolLog\. This folder path is specified in the Exchange Management Console under Server Configuration, servername Properties, Log Settings. A separate folder exists under the ProtocolLog folder for SmtpSend and SmptReceive. You can, if you choose, move each of the log folder locations individually to alternate locations on the server.