Here's the background: I was using ADSI Edit to manually remove a mail gateway from the ".../CN=First Routing Group/CN=Connections" and accidentally removed the connection for the Mailbox Store from ".../CN=Organization/CN=Co
instead. So I manually reconstructed the connection using the exact same string for the distinguished name (which I obtained from elsewhere) and did a best guess on the other object parameters. In hindsight, I think I should have immediately done an Active Directory restore as I had done a system state backup and full Exchange backup prior to doing any changes. Subsequent to that, I restarted the server and mail started flowing back into the Mailbox Store and I thought it was all resolved.
However, since then (now a week ago) there has been a problem where the .log files consumed all disk space after the application trying to connect to the mail gateway continually errored out with "Exchange Gateway logon failed - OpenMsgStore failed - MAPI_E_CORRUPT_DATA". I stopped the application from connecting and the logs have stabilized but are still sitting around -- all 12,000+ of them. If I re-enable it, I get the message "Exchange Gateway logon failed - OpenMsgStore failed - MAPI_E_FAILONEPROVIDER". A full backup is now twice the size of what it was before the change (100GB vs 50GB). I could restore the Active Directory and restore the Exchange backup but I don't want to lose a week's worth of emails. What's my best approach for both restoring the connection to the way it was before and also not losing the new emails that have arrived since?
I tried adding a second mailbox store and moving accounts between them, but Active Directory reports a permissions error doing that.
My guess is that when I manually reconstructed the connection for the Mailbox Store, I got a parameter wrong and now it's in the database file under a different folder or something, or maybe it's storing it in two places since the size looks to be double. So if I simply restore Active Directory, it might not recognize that folder and I could lose everything since... or maybe it will be fine. I'm presently running eseutil /g on the file and it's taking forever (630MB at about 3%) but will report more as I find out.
Outlook periodically reports synchronization errors, such as:
11:19:53 Error synchronizing folder
11:19:53 The client operation failed.
11:19:53 Microsoft Exchange Server Information Store
11:19:53 For more information on this failure, click the URL below:
The folder listed before this message varies... sometimes Sent Items, sometimes Deleted Items, etc. But the error number is always consistent.
As you can tell, I may not be an Active Directory guru... but I generally don't make boneheaded mistakes like deleting an entry from the wrong connections folder. If you can provide a solution to my dilemma with steps to take, please outline the detailed steps involved so that I don't assume something incorrectly.
Many thanks in advance!