Topic Last Modified: 2005-11-18

The Microsoft® Exchange Server Analyzer Tool reads the following registry entry to determine whether the SMTP Archive Sink has been installed and enabled:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\ArchiveSink\1\Dump P1

If the Exchange Server Analyzer finds that the value for Dump P1 is greater than 0, a non-default configuration message is displayed.

A value of 0 indicates that P1 header archiving is disabled. A value of 1 indicates that P1 header archiving is enabled. Values other than 0 or 1 are not supported.

The SMTP Archive Sink tool is a custom script that enables the archiving of all messages coming into and moving out of a specific folder on an Exchange server. By default, when the SMTP Archive Sink is enabled, all messages and their recipients are archived to an .eml file, except for Bcc recipients.

P1 headers are also referred to as "envelope" data. The envelope data is the actual recipient list that Exchange generates as a message is in transit that enables a message to reach all recipients. Unlike the P2 headers, which are the recipients as declared by the sender in a particular piece of received mail, the envelope data changes as it travels to the many destinations. These changes occur because of distribution list expansion and hidden distribution list behavior.

By default, P1 headers are not archived when you install and enable the SMTP Archive Sink. Typically, P1 header archiving is enabled only for troubleshooting purposes.

If you do not want to archive P1 headers on this Exchange computer, you can set the Dump P1 registry key to 0, or you can uninstall the SMTP Archive Sink. When you uninstall the SMTP Archive Sink, all registry keys used by SMTP Archive Sink are deleted.

This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore the registry if a problem occurs. For information about how to restore the registry, view the "Restore the Registry" Help topic in Regedit.exe or Regedt32.exe.

To disable P1 header archiving

  1. Open a registry editor, such as Regedit.exe or Regedt32.exe.

  2. Navigate to: HKLM\SOFTWARE\Microsoft\Exchange\ArchiveSink\1

  3. Double-click the registry key Dump P1, in the Value data field, enter 0, and then click OK.

  4. Close the registry editor, and restart the IIS Admin Service for the changes to take effect.

To uninstall the SMTP Archive Sink

  1. Click Start, click Run, type cmd, and then click OK.

  2. In the C:\Program Files\Exchsrvr\bin folder, type cscript archivesink_setup.vbs, and then press Enter.

  3. Type cscript archivesink_setup.vbs uninstall Virtual Server ID, where Virtual Server ID is the virtual server number of the virtual server where the SMTP Archive Sink is installed.

  4. Exit the Command Prompt window, and restart the IIS Admin Service for the changes to take effect.

Before you edit the registry, and for information about how to edit the registry, see Microsoft Knowledge Base article 256986, "Description of the Microsoft Windows Registry" (

For more information about setting up and configuring the SMTP Archive Sink in Exchange Server 2003, see Knowledge Base article 871110, "How to install and use the Archive Sink utility in Exchange Server 2003" (

For more information about setting up and configuring the SMTP Archive Sink in Exchange 2000 Server, see Knowledge Base article 307798, "The Archive Sink utility is available in Service Pack 2" (

For information about deploying a comprehensive journaling solution for the purposes of regulatory compliance, see Journaling with Exchange Server 2003 (