To use the Mfcmapi.exe utility to view and work with
messages in the SMTP TempTables in Exchange 2000 Server and in Exchange Server
2003, use one of the following methods.
Note Currently, the only version of the Mfcmapi.exe utility that is
approved for use is version 5.0.18.1978. Delete any earlier versions of this
utility. Earlier versions of this utility may cause performance issues in
Exchange 2000 Server and in Exchange Server 2003.
Note There is one TempTable for each SMTP virtual server. For example,
TempTable#1 corresponds to SMTP virtual server 1, and TempTable#2 corresponds
to SMTP virtual server 2. In the following methods, change the TempTables
according to the Exchange Server configuration.
When you delete an SMTP virtual server, the TempTable that is associated with the SMTP virtual server is not deleted. Additionally,
the contents of the associated TempTable are not deleted. If you add and then remove an SMTP virtual server, you must manually delete the TempTable that is associated with the SMTP virtual server.
Warning If you use the Mfcmapi.exe utility incorrectly,
serious problems may occur that may require that you reinstall Microsoft
Exchange Server. Serious problems may also occur that require that you restore
Microsoft Exchange Server. Microsoft cannot guarantee that problems that result
from using the Mfcmapi.exe utility incorrectly can be resolved. Use the
Mfcmapi.exe utility at your own risk.
Method 1: Use the Mfcmapi.exe utility to clear the SMTP TempTables in Exchange 2000 Server and in Exchange Server 2003
Warning If you delete the SMTP TempTables, all incoming and outgoing
messages are cleared from the TempTables at the same time.
Note For information about how to try to recover a message, see Method
2.
- Stop the SMTP service, and then double-click
Mfcmapi.exe.
- Click OK to close the About
Mfcmapi dialog box.
- Click Session, and then click
Logon and Display Stores.
- Log on by using an Administrator account. If the MAPI
profile is unavailable, create one.
- Click MDB, and then click Get
Mailbox Table.
- Confirm the server name, and then click
OK.
- Double-click the object SMTP
(ServernameGUID)
mailbox.
Note In this step, Servername represents
the name of the Exchange Server. GUID represents the
GUID. - Expand Root Container, and then click
TempTable#n.
Note n represents the number that
corresponds to the TempTable. - Right-click the
TempTable#n object, and then click
Delete Folder.
- Click to select the Hard Deletion check
box, and then click OK.
- Confirm that the TempTable folder has been deleted. To do
this, follow these steps:
- On the Hierarchy Table menu, click
Refresh View.
- Expand Root Container. Verify that the
TempTable#n folder does not appear.
- Quit the Mfcmapi.exe utility.
- Start the SMTP service. When you start this service, a new
TempTable is created.
Method 2: Use the Mfcmapi.exe utility to delete individual stuck or corrupted messages in Exchange 2000 Server and in Exchange Server 2003
- Stop the SMTP Service.
- Double-click Mfcmapi.exe.
- Click OK to close the About
Mfcmapi dialog box.
- Click Session, and then click
Logon and Display Stores.
- Log on by using an Administrator account. If the MAPI
profile is unavailable, create one.
- Click MDB, and then click Get
Mailbox Table.
- Confirm the server name, and then click
OK.
- Double-click the object SMTP
(ServernameGUID)
mailbox.
Note In this step, Servername represents
the name of the Exchange Server. GUID represents the
GUID. - Expand Root Container, and then expand the
TempTable#n folder.
- Right-click each subfolder that is labeled
#0 through #19, and then select Open
Contents Table to examine stuck or corrupted messages. To
irretrievably delete messages, follow these steps:
- Right-click the message, and then click Delete
Message.
- Click Permanent delete passing
DELETE_HARD_DELETE (unrecoverable), and then click
OK.
You can delete multiple messages at the same time. To do
this, press the CTRL key or the SHIFT key, click individual messages or a range
of messages, and then follow steps a and b.
Note Each TempTable contains 20 subfolder that are labeled #0 through
#19. All message content is located in the subfolders. You can inspect and
manipulate messages on a subfolder basis.
Method 3: Use the Mfcmapi.exe utility to save messages so that you can examine them later
- Stop the SMTP Service.
- Double-click Mfcmapi.exe.
- Click OK to close the About
Mfcmapi dialog box.
- Click Session, and then click
Logon and Display Stores.
- Log on by using an Administrator account. If the MAPI
profile is unavailable, create one.
- Click MDB, and then click Get
Mailbox Table.
- Confirm the server name, and then click
OK.
- Double-click the SMTP
(ServernameGUID)
mailbox.
Note In this step, Servername represents
the name of the Exchange Server. GUID represents the
GUID. - Expand Root Container.
- Right-click the MTS-OUT subfolder, click Create
Subfolder, and then name the new folder "Recovery."
- Expand
TempTable#n.
- Select subfolders #0 through
#19.
- Right-click the range of folders that you selected, and
then click Copy.
- Right-click the Recovery folder, and then
click Paste.
- Click to select the Paste folder contents
only check box, and then click OK.
- Click to select the Move Messages check
box, and then click OK.
- Confirm that the table from which you moved folders is
empty. Examine the PR_CONTENT_COUNT row and the PR_CONTENT_UNREAD
row.
- Repeat steps 12 through 15 for all the folders that appear
under the appropriate TempTable.
- Right-click the TempTable in which you have been working,
and then click Delete Folder.
- In the Delete Selected Folder dialog box,
click to select the Hard Deletion check box, and then click
OK.
- Confirm that the TempTable folder has been deleted. To do
this, follow these steps:
- On the Hierarchy Table menu, click
Refresh View.
- Expand Root Container. Verify that the
TempTable folder does not appear.
- Restart the SMTP service. This rebuilds the TempTable
object.
- Follow steps 12 through 15 to move the message from the
Recovery folder to the subfolder under the appropriate TempTable
folder.
Note For Exchange 2000 Server, you must grant the administrator's
mailbox Send As and Receive As rights on the mailbox store. Otherwise, you
cannot access the SMTP mailbox from the administrator's mailbox
profile.