Microsoft KB Archive/314238

= How to replay Exchange Server 5.5 MTA .dat Files on an Exchange 2000 Server in a mixed mode site =

Article ID: 314238

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition
 * Microsoft Exchange Server 5.5 Service Pack 3
 * Microsoft Exchange Server 5.5 Service Pack 4

-



This article was previously published under Q314238



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article describes how to recover messages that are destined for the local store by replaying the messages on a remote Exchange 2000 Server computer, if you have a copy of the original Exchsrvr\Mtdata folder.

In a mixed mode environment, if a backlog occurs for an Exchange Server 5.5 message transfer agent (MTA) because of a hardware failure, an MTA program problem, or any other unexpected event, you may have to replay the Exchange Server 5.5 MTA .dat files on an Exchange 2000 server.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

You must have another Exchange Server 5.5 computer in the same site or an Exchange 2000 Server computer to use the following procedure to replay messages.

NOTE: Do not delete any MTA .dat files. If you do so, you will lose messages and you may cause additional damage to the MTA.

To replay messages, perform the following steps:  Log on to the Exchange Server 5.5 computer on which the MTA queues are backlogged. Stop the Exchange Server MTA:  Click Start, click Run, and then type cmd . At the command prompt, type net stop MSexchangeMTA .  Start Microsoft Windows Explorer, and then locate the X:\Exchsrvr\Mtadata folder (where X is the local drive on which the folder is located).</li> Make a backup copy of the Exchsrvr\Mtadata folder in another safe location.</li> Delete the Db*.dat files in the Exchsrvr\Mtadata folder on your hard disk.</li> Copy all of the files from the Setup\I386\Bootenv folder on the Exchange Server CD-ROM to the Exchsrvr\Mtadata folder on your hard disk.</li> Remove the read-only attribute from the files that you copied from the CD-ROM to your hard disk. Make sure that none of the files in the Exchsrvr\Mtadata folder on your hard disk have the read-only attribute set.</li> Start the Exchange Server MTA:  Click Start, click Run, and then type cmd .</li> At the command prompt, type net start MSexchangeMTA .</li></ol> </li> Log on to the destination Exchange 2000 server from which you want to replay the messages.</li> Stop the Exchange 2000 MTA:  Click Start, click Run, and then type cmd .</li> At the command prompt, type net stop MSexchangeMTA .</li></ol> </li> Start Windows Explorer, locate the X:\Program Files\Exchsrvr folder, and then rename the X:\Program Files\Exchsrvr\Mtadata folder to Mtadata.old.</li> On your Exchange 2000 server, add the Dispatch Remote MTA messages registry value. To do so, you must edit the registry.

To add the Dispatch Remote MTA messages registry value:  <li>Start Registry Editor (Regedt32.exe).</li> <li>Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeMTA\Parameters\

</li> <li>On the Edit menu, click Add Value, and then add the following registry value:

Value name: Dispatch Remote MTA messages

Data type: REG_DWORD

Radix: Binary

Value data: 1

</li> <li>Quit Registry Editor.</li></ol>

NOTE: Remove or disable the Dispatch Remote MTA messages key after you complete remote replay. If you do not remove or disable this key, Exchange Server may send non-delivery reports (NDRs) for all messages after the server returns to its original role.</li> <li>Copy the backup Exchange Server 5.5 X:\Exchsrvr\Mtadata folder to the X:\Program Files\Exchsrvr folder on the Exchange 2000 server.</li> <li>Run the mtacheck.exe /v command against the Exchsrvr\Mtadata folder.</li> <li>Start Performance Monitor, click Add to Chart on the Edit menu, and then add: <ul> <li>Object: MSExchangeMTA</li> <li>Counter: Work Queue Length</li></ul> </li> <li>Start the Exchange 2000 MTA: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, and then type cmd .</li> <li>At the command prompt, type net start MSexchangeMTA .</li></ol> </li> <li>In Performance Monitor, watch the work queue length until the queue reaches 0. At that point, all of the remote messages have been replayed.</li> <li>Stop the Exchange MTA: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, and then type cmd .</li> <li>At the command prompt, type net stop MSexchangeMTA. Leave the command prompt window open.</li></ol> </li> <li>Delete the X:\Program Files\Mtadata folder, and then rename the Mtadata.old folder back to Mtadata.</li> <li>In the command prompt window, type cd program files\exchsrvr\bin, and then run the mtacheck /v command.</li> <li>After the queues are scanned, a message is displayed that states, &quot;Database Clean, no errors detected.&quot;</li> <li>At the command prompt, type net start MSexchangeMTA to start the Exchange MTA.</li></ol>

After you use these steps, you have replayed your messages.

Additional query words: mta reply xadm xcon

Keywords: kbhowto KB314238

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.