Microsoft KB Archive/279616

From BetaArchive Wiki
Knowledge Base


Adding a registry key to recategorize messages

Article ID: 279616

Article Last Modified on 6/4/2007



APPLIES TO

  • Microsoft Exchange 2000 Server Standard Edition



This article was previously published under Q279616

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


SUMMARY

Messages on an Exchange 2000 server may get stuck in the pre-routing queue if Microsoft Internet Information Service (IIS) has overwritten the Exchange 2000 configuration. It is very unlikely that this can happen, however, if this does occur, all the messages will not get routed. To correct this problem, refer to the "More Information" section.

The following error message may be logged in the Application event log:

Event Type: Warning
Event Source: smtpsvc
Event Category: None
Event ID: 4000
Date: 10/30/2000
Time: 2:10:10 PM
User: N/A
Computer: SERVERNAME
Description: Message delivery to the remote domain '_c78290b817c75f4bac724d36582fdeea_D' failed. The error message is 'Unable to bind to the destination server in DNS.

You can use a telnet connection to the server on port 25 to identify if the wrong version of the .dll file is used. At a command prompt, type telnet hostname 25. You will receive a response such as

"220 hostname Microsoft ESMTP MAIL Service, Version: 5.0.2195.1600 ready at Thu, 16 Nov 2000 12:25:39 -0600" [User name]


Next, type ehlo. You will see a list of supported commands, such as following:

250-hostname Hello [IP Address]
250-TURN
250-ATRN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-XEXCH50
250-X-LINK2STATE
250 OK


If you are missing commands such as X-LINK2STATE OR XEXCH50, the Microsoft Windows 2000 version of the .dll is in use instead of the Exchange 2000 version.

For more information about the latest service pack for Microsoft Exchange 2000 Server, click the following article number to view the article in the Microsoft Knowledge Base:

301378 How to obtain the latest Exchange 2000 Server service pack


MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Implement the following registry key that will cause recategorization of mail sitting in the pre-routing queue.

  1. Start Registry Editor (Regedt32.exe).
  2. Locate the following key in the registry:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SMTPSVC\Queuing\

  3. On the Edit menu, click Add Value, and then add the following registry value:

    Value Name: ResetMessageStatus
    Data Type: REG_DWORD
    Radix: Hexadecimal
    Value: 1

  4. Quit Registry Editor.

After you add the preceding registry value:

  1. Re-install Exchange 2000 to restore the proper Exchange 2000 configuration.
  2. During the upgrade, SMTPSVC will be stopped and restarted. After SMTPSVC is automatically restarted, the previously queued messages to be enumerated and reprocessed.
  3. After upgrade is completed and SMTPSVC has been restarted, you can delete the ResetMessageStatus registry key.

If Exchange 2000 has already been reinstalled without setting the ResetMessageStatus registry key, some of the messages will remain stuck in the pre-routing queue. To resolve this:

  1. At a command prompt, run the following command:

    net stop SMTPSVC

  2. Set the ResetMessageStatus registry key to a value of 1.
  3. At a command prompt, run the following command:

    net start SMTPSVC

    Previously queued messages will be enumerated and reprocessed.
  4. Delete the ResetMessageStatus registry key.

NOTE: Unless you implement the ResetMessageStatus registry entry, all mail that was categorized without Exchange 2000 will eventually generate non-delivery reports (NDRs).

For more information about how to download the fix that contains this feature, click the following article number to view the article in the Microsoft Knowledge Base:

291222 Rollup of selected Exchange 2000 Server post-release fixes


The English version of this feature should have the following file attributes or later:

Component: Transport

File name Version
Phatq.dll 6.0.4418.25



Note By default, the ResetMessageStatus registry key is enabled on Exchange cluster servers to allow for the recategorization of messages during failover of the SMTP resource.


Additional query words: categorize exch2kp2w smtp cat recat XCON

Keywords: kberrmsg kbinfo KB279616