Search WWW Search

Thursday, August 23, 2012


Ran into an interested case with a customer where his Exchange server crashed and the temp table kept regurgitating the queues. We attempted to delete the temp table using mfcmapi however we received the error below.


It appears to delete but if you close out and log back in to mfcmapi the temp table still shows with the messages. I surmised that the mailbox\database was corrupt as there was no way to delete this temp table nor the individual messages. We were then stuck as to how to delete the temp table since you can't delete the SMTP mailbox which was likely corrupt to do the server crash. Since this was an SBS server we didn't have the option of moving all our mailboxes to the other store since each store has it's unique SMTP mailbox. Our options were either to run a repair using eseutil or export to pst, delete the store than re-import. However there was a method to delete the SMTP AD object using adsiedit, which will than mark the SMTP mailbox as disconnected than create a new SMTP AD object which will create a new SMTP mailbox. Thanks to the link below which goes over deleting and recreating the AD object.

CN=Connections,CN=Organization Name,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain Name

Delete object  SMTP (ServerName-{GUID of Mailbox Store})

Then recreate.

James Chong
Security+, Project+, ITIL

xml:lang="en" lang="en"> MS Exchange Tips: MFCMAPI MAPI_W_PARTIAL_COMPLETION == 0x00040680