Disabling Services and Protocol Logging on Exchange 2003 Servers

Understanding the Exchange Server 2003 Services

Exchange Server 2003 uses a number of components, services, and processes that communicate between each other on the local computer and remote computers. The role of the Exchange server and the clients that it has to support determines which services are necessary and unnecessary on your front-end and back-end Exchange servers.

All unnecessary services can be disabled. The security of your Exchange Server 2003 system is enhanced when you disable unnecessary services on your Exchange server. Port attacks can no longer be preformed on the ports of disabled services.

The main factors to consider when you want to disable a service are listed here:

Exchange Server 2003 services can be classified as follows:

Role-Independent Exchange Services

Role-independent Exchange services are those services that are needed as determined by the role performed by the Exchange 2003 server. There are also services that are needed for the following functions to be performed:

The following services are needed to run Exchange Server 2003 Setup. The services have to be installed and enabled:

Exchange Server 2003 by default disables a few services. The state of these services is though maintained if you enable the service, and then later perform an upgrade or reinstallation.

The services that Exchange Server 2003 by default disables are listed here:

The following services are needed to administer Exchange Server 2003. The services have to be installed and enabled:

The following services are needed to maintain interoperability with previous versions of Exchange:

The following services are needed to enable Exchange Server 2003 to perform message routing functions:

There are also a number of services that provide additional Exchange Server 2003 features:

Services Running on an Exchange 2003 Front-end Server

The services listed here are required on an Exchange 2003 front-end server:

You can disable the services listed here on an Exchange 2003 front-end server:

Services Running on an Exchange 2003 Back-end Server

The services listed here are required on an Exchange 2003 back-end server:

You can disable the services listed here on an Exchange 2003 back-end server:

Understanding Protocol Logging

If you want to troubleshoot mail system protocol issues then you should enable and configure protocol logging. Protocol logging provides information on the message commands that a user sends to an Exchange Server 2003 server.

This includes the following information:

The following Internet protocols can be configured to track the message commands that a user sends to an Exchange Server 2003 server.

Protocol logs are stored in the C:\WINNT\System32\LogFiles directory by default.

You can configure the logging format that should be used for logging the information:

The different ASCII format options which you can choose between are:

For the ODBC format, you have to configure which ODBC database to use, and then configure the database to receive protocol logging information. You can use Access or SQL Server to create an ODBC database. The table in the ODBC database has to contain a set number of fields. The fields that have to be created are listed below. Bear in mind that varchar(255) in Access is the same as a Text data type with a Field Size setting of 255:

How to enable protocol logging for an SMTP virtual server

  1. Open Exchange System Manager.
  2. Expand the Administrative Groups node, the administrative group, the Servers node, Server Name, Protocols.
  3. Expand the SMTP folder.
  4. Right-click Default SMTP Virtual Server and then select Properties.
  5. The Default SMTP Virtual Server Properties dialog box opens.
  6. Select the Enable logging checkbox on the General tab.
  7. Choose either of the following logging format options available in the Active Log Format drop-down list:
    • Microsoft IIS Log File Format
    • NCSA Common Log File Format
    • ODBC Logging
    • W3C Extended Log File Format
  8. Click Properties.
  9. The Logging Properties dialog box opens.
  10. In the New Log Schedule area of the General tab, choose either of the following options:
    • Hourly
    • Daily
    • Weekly
    • Monthly
    • Unlimited File Size
    • When File Size Reaches, and set the size setting.
  11. In the Log File Directory box of the General tab, set the log file location.
  12. If you have selected the W3C Extended Log File Format option, then you can click the Advanced tab to configure the items which should be tracked.
  13. Click OK in the Logging Properties dialog box.
  14. Click OK in the Default SMTP Virtual Server Properties dialog box.

How to enable and configure logging on the Default HTTP virtual server

  1. Open the IIS Manager console.
  2. Expand the Web Sites node.
  3. Right-click Default Web Site and then select Properties from the shortcut menu.
  4. Click the Web Site tab.
  5. Check the Enable Logging checkbox.
  6. Select the log file format from the Active Log Format drop-down list. The default format specified is W3C Extended Log File Format.
  7. Click Properties.
  8. The Logging Properties dialog box opens.
  9. On the General tab, set the following:
    • Specify when information should be saved to the log file.
    • Specify the log file size.
    • Specify the log file location.
  10. Click the Advanced tab if you have selected the W3C Extended Log File Format. This is where you can configure Extended Logging Options.
  11. Click OK in the Logging Properties dialog box.
  12. Click OK in the Default Web Site Properties dialog box.


Top 5 Free Networking Tools

Bookmark Disabling Services and Protocol Logging on Exchange 2003 Servers

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.