Link to home
Create AccountLog in
Avatar of Mango-Man
Mango-Man

asked on

Fixing Corrupt Exchange 2010 Mailbox

Hi all,

We have two users on a SBS 2011 Server (so Exchange 2010) whose mailboxes have corrupted (we're getting numerous 10030 events "A mismatch was detected between a view of a folder and the actual contents of the folder.").  This was caused as a result of a power outage a few weeks back but these problems have only just come to light.

We've tried running the New-MailboxRepairRequest against the whole database but no luck.

Suggestions now seem to be to export to a PST (not a problem)
Delete the mailbox (not sure how to do this without deleting the user)
Recreate the mailbox (not sure)
Reattach to the user in AD (have no idea)
Reimport the PST data (not a problem)

I've had a look around and there's lots of tutorials about detaching mailboxes and waiting for them to be purged, re-attaching soft-deleted mailboxes, etc. but I can't find any clear instructions on the above.  I would tear my hair out but I don't have any (probably down to Exchange)

Can anyone point me in the right direction?

Thanks in advance for any help!

Bob
ASKER CERTIFIED SOLUTION
Avatar of jstiling
jstiling

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Mango-Man
Mango-Man

ASKER

Hi Sembee,

I like the sound of anything that is safer!  Can you clarify however, you say 'create a new account' - do you mean user account, mailbox or both?

If I do, the new user account is going to have a different UID on the network so all the users user profiles, network permissions, etc. will all have to be redone, unless there is a way around this?

Bob
That is indeed true. However it can be the difference between having internal email for the user bouncing around all over the place. A new user or new mail enabled user (ie after removing their attributes) are two different users as far as Exchange is concerned, so would mean that replies to old email, nickname addresses etc would be invalid.

Simon.
Hi Jstiling,

Finally giving it a go - I've just re-created and linked the new mailbox but I notice that this process doesn't recreate the .local email address (so I did that) but it also doesn't recreate the X400 address, eg:

C=US;A= ;P=CLIENTCOMPANY;O=Exchange;S=Doe;G=John;

Should I recreate this and if so, how?  Using custom address and simply entering X400 as the type?

Thanks again for your help!  Fingers crossed!

Bob
Hi all,

Unfortunately since the process above, internal users are getting some errors when sending emails to the recipient whose mailbox I recreated:
 
IMCEAEX-_O=COMPANYDOMAIN_OU=First+20administrative+20group_cn=Recipients_cn=jdoe@COMPANYDOMAIN.com
#550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found ##

I recreated the X400 address using another users as a template and have double check it follows the same format but I must be missing something else.

Thanks

Bob
That is why I recommend that the user isn't replaced, but a new account created and forward to the original.

There is this script: http://poshcode.org/3516 that can take the bounce and create the address for you.

The users who are sending the email need to be told to remove the user from their nicknames files and then select fresh from the GAL. They will then use the correct information.

Simon.
Hi Simon,

Oddly we've discovered that this isn't affecting internal emails, only meeting requests?

Do you think this is still a nickname issue?

Thanks

Bob
Hi all,

Thanks for your help - unfortunately we're having a real nightmare now with the mailboxes we recreated with many internal uses unable to send to them, despite us deleting the nicknames for the senders outlook and recreating the X500 addresses.

I've posted a separate question about it here: https://www.experts-exchange.com/questions/27944575/550-5-1-1-RESOLVER-ADR-ExRecipNotFound-Not-Found-Since-Mailbox-Delete-Recreate.html but something for everyone to note!

At this stage it's a play off between hassle for the users you need to rebuild (new profile etc) or hassle for other users in having problems sending to them after the procedure.

Thanks

Bob
It coudl be affecting all sorts of things. If it is more than 48 hours after the accounts were recreated then the OAB should have updated. As I have alaready said, this is why I don't recommending deleting the accounts, you end up chasing all sorts of things for ages.

Did you use the script that I posted to create the additional addresses?

Simon.
Hi Simon,

Thanks for the continued help - I must admit I didn't really know where or how I was supposed to run the script!  (don't know if its supposed to be VBScript, Command Line, JS, etc).

Bob