This one was a bitch, and since the closest thing I could find to a remedy online was to delete the store and create a new one (not bloody likely) I’ll publish the results of a call to MS Critical Support for the benefit of the masses.
The problem was one user had almost 50 emails stuck in the local delivery queue. They could send email inside and out, but incoming would never get there. I believe the problem was a corrupted mailbox.
To fix the user’s mailbox, I exported their account to a .pst using Exmerge. I then deleted the user’s mailbox and created a new one, adding back in all of their aliases. This got new mail flowing again without too much fuss. The mail in the local delivery queue, however, was still stuck.
To get this going to the right mailbox, we had to ‘recategorize’ the existing mail to the new mailbox.
- Stop the SMTP service.
- Open Regedit and navigate to the following key:
- Creat a subkey named “Queuing”
- Select Queuing and on right hand pane create new dword value with name “ResetMessageStatus� with value 1 in hexadecimal.
- Restart the SMTP service – check the queues and see if mail is being delivered. Also check the account mailbox at this point.
- Once all the mails are delivered to that user, stop the SMTP service and change the value for �ResetMessageStatus� to 0 and start the SMTP service.
That should do it. Seems simple, right? HA! I bashed on it for almost two hours, then called crit support and tech#1 bashed on it for an hour, then called in tech#2 who took another half-hour to come up with the registry fix. We still ended up losing a handful of emails, but that was because it took the user two full days to tell me something was wrong, and our queue alarm didn’t catch the problem.
Which, of course, will be step 3 of this process…
*Update: comments closed due to excessive spam. Glad I could help all of you with this post.