How to Access the Internet Mail Service Mailbox

Introduction:
Periodically you may notice an event in the application logs, of your IMS server, which indicate that a non-deliverable piece of internet mail was moved to the "bad" folder. Since the IMS mailbox is a "special case" mailbox used by the IMS, you can not access information contained within it using regular Outlook profiles. The Exchange server 5.5 CD contains a mapi utility called mdbvu32.exe, which can be used to clean out folders within the IMS mailbox. This utility is a very low level debug tool, and it is very cumbersome to use, but it suffices in most cases. Here are detailed instructions for accessing the IMS mailbox. Please exercise extreme caution when using the tools described here.

Procedure
Obtain a copy of profinst.exe, from the Microsoft website or download from here.

Place profinst.exe on the hard disk of your Exchange server in it's own directory

Log on as the Site Services account, bring up a command window and execute the following command
profinst /service=msexchangeimc /name=IMS /type=gateway

You should receive a prompt, informing you that the profile was successfully created.

Place your Exchange 5.5 server installation CD in your CD drive and locate mdbvu32.exe in the support directory

Run mdbvu32.exe 

For the opening pop-dialogue, select "Mapi Explicit Profile" and select the IMC profile you just created.

From the mdb menu, choose open message store

Choose the internet mail service store from the list.

From the mdb menu, select "open root folder"

Remove offending messages using the ipFld->DeleteMessages() (ON SELECTED MSGS) function

Close out all folders

From the session menu item, choose session logoff

In the dialogue box select logoff orderly and click OK

Close mdbvu32