In part 1 we saw that a corrupted rule made the Mailbox Move fail.

I wanted to know if I had really a corrupted mailbox or maybe even corruption in the store or another problem.

So in this part I will describe how to break down the Mailbox Move Log.

First go to the Failed Move Request and select Properties:

image

 

Then click Log -> View and scroll down to Error context which is like a stack, the item on top happened last:

The lines below indicate in which folder it happened (Backup Mail John Doe/Postvak IN). This folder seems to be a backup of another mailbox that was placed in this folder:

image

That’s why this folder also has an Inbox (Postvak IN in Dutch) which may have Rules and Out Of Office objects.

Now we open this Folder in Outlook Spy by selecting it and pressing the IMAPIFolder button. Then select the PR_RULES_TABLE tab:

image

In my case there was only one row and the PR_RULE_PROVIDER property indicates that it’s an Out Of Office rule (value MSFT:TDX OOF Rules)

Before we go it’s important to understand some details of the internal implementation of Out Of Office Messages.

So let’s first look at a Mailbox with a working and correct Out Of Office notice.

I created a test mailbox and set an OOF message (not that we just need to set the text we don’t need to set the account as currently Out of Office):

image

Then I opened this OOF rule with OutlookSpy via Inbox -> IMAPIFolder -> PR_RULES_TABLE tab.

Doubleclick PR_RULE_ACTIONS, copy the value of lpAction.lpEntryId to the clipboard and click Close:

image

Now select the OpenEntry tab and click Enter Entry ID Manually:

Paste the value of lpAction.lpEntryId from the clipboard and press Ok:

image

Press OK on the next screen:

image

Now we see the actual Out Of Office Text:

image

So the Out Of Office Text is actually stored inside a hidden message. Now that we know this let’s proceed with the erroneous Out Of Office rule.

Go back to mailbox with the error and open the folder that contains the corrupted OOF rule (Backup Mail John Doe/Postvak IN).

Goto the PR_RULES_TAB (via IMAPIFolder), select the rule and  inspect PR_RULE_ACTIONS.

Copy again the value of lpAction.lpEntryID to the clipboard and click Close:

image

As before, click the OpenEntry Tab followed by Enter Entry ID Manually. Now paste the value of lpAction.lpEntryID and press Ok:

image

Click OK on the next Dialog:

image

In my case I got the following error:

image

And this is the explanation of the Move Mailbox Error: The Out Of Office Message (the one that contains the actual text) no longer exists.

And the Entry ID that we pasted is equal to the one from the Move Mailbox log file (after data=):