How to delete corrupted hidden Exchange inbox rules using MFCMAPI 5/5 (2)

5 min read
One of our user’s reports that he experiencing a strange phenomenon when he connects to his Exchange mailbox:
Mail item that sent from the recipient automatically sent to a specific folder instead of the inbox folder, E-mail is automatically forwarded to another recipient and so on.

In some scenarios, the problem could be related to corrupted hidden Exchange inbox rule.
In the current article, we review how can we locate such inbox rule using the MFCMAPI tool and delete it.

Technically speaking, there are a couple of optional causes to this issue such as – a problematic mobile device mail client, third party Outlook add-on or Outlook plugin and so on.

We suspect that an inbox rule causes this strange behavior that the user created.
We check the existing inbox rules, and surprisingly; we discover that there is no current inbox rule or that the current inbox rule does relate to the particular issue that the user experience.

The other option that I would like to review in the current article is – the possibility of corrupted, hidden inbox rules.

The phenomenon of “corrupted hidden inbox rules” is not an ordinary scenario, but, in some case, after we have exhausted all possibilities, we need to consider this option.

The main characters of the “corrupted hidden inbox rules” is that, for some reason, the inbox rule doesn’t appear in the standard Outlook \OWA graphic interface.
To be able to verify if we are dealing with a scenario of a “problematic inbox rule” (corrupted hidden inbox rules), and to delete this inbox rule, we will need to use a very powerful and
a useful tool named – MFCMAPI.

Using the MFCMAPI utility, we can see the “under the hood” of an Exchange mailbox.
The MFCMAPI enables us to view the physical structure of the Exchange mailbox and the mailbox mail items.

Delete corrupted hidden Exchange inbox rules using MFCMAPI | The troubleshooting planned scheme.

As mentioned, in our scenario Exchange user experience “strange behavior,” and we suspect that the issue may be related to existing “corrupted hidden inbox rules.”

In some scenarios, the user has an existing inbox rule that can be seen via the Outlook \OWA graphic interface.

When using the MFCMAPI tool to view the content of the user mailbox, we will not be able to differentiate between a “legitimate inbox rule” versus “corrupted hidden inbox rules.”
To be able to “isolate” the corrupted hidden inbox rule.” We will need to implement the following steps:

  1. Back up all the existing inbox rules.
  2. Manually delete all the existing inbox rules by using the Outlook \OWA interface or the MFCMAPI tool.
  3. Use the MFCMAPI tool by searching for corrupted hidden inbox rules” and if we find such as inbox rule\s, delete these rules.
  4. Restore the “original inbox rules” from the backup to – the user mailbox.
Note – in case that you need more information about the process of export import inbox rule, you can read the following article – Import or export a set of rules.

Using MFCMAPI for delete corrupted, hidden Exchange inbox rules.

MFCMAPI and Outlook mail profile

The MFCMAPI tool uses existing Outlook mail profile that already configured on the particular desktop form which we use the MFCMAPI.

In other words – to be able to use the MFCMAPI tool for examining the structure of a particular Exchange mailbox, we will need to have the specific user credentials and configure the Outlook mail profile for the specific Exchange recipient.

  • Download the MFCMAPI tool using the following link MFCMAPI

Download the MFCMAPI tool

MFCMAPI implemented as EXE file; there no need to “install” the MFCMAPI

  • Click on the MFCMAPI executable file
  • Click OK on the welcome screen

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-01

  • Select the Session menu
  • Select the Logon… menu

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-02

In our scenario, we want to use the MFCMAPI for deleting corrupted, hidden Exchange inbox rules from the Exchange mailbox of a recipient named Bob.

  • Select the required Outlook profile

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-03

General note – a specific Outlook mail profile can serve as a container for different Exchange object such as – user mailbox, online archive, Public Folder or other mailboxes which the recipient has Full Access to these mailboxes.

For this reason, when we use the MFCMAPI to log into specific Exchange recipient mailbox, we can see a couple of “databases” represented by the yellow icon.

In our scenario, we wish to examine the content of Bob’s mailbox.

  • Right click of the “yellow icon” of the user mailbox. In our example, we want to view the content of Bob mailbox.
  • Select the menu – Open store

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-04

  • Select the folder named – Root -Mailbox and click on the small white arrow to expand the Folder hierarchy

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-05

  • Click on the folder named – IPM_SUBTREE
  • Click on the folder named – Inbox
  • Right click on the Inbox folder and select the menu – Open associated content table

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-06

New “MFCMAPI window” appears – this window displays the internal structure of the Inbox folder. The window includes many columns.
In our scenario, we want to view the content of a column named – Message Class
To view this column, scroll to the right the column headers

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-07

  • Select the column named – Message Class

The inbox rule saved as an object named – IPM.Rule.Version2.Message

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-08

  • Right click on the value – Rule.Version2.Message
  • On the sub menu select the menu – Delete message

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-09

  • Click on the small arrow

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-10

  • Select the option – Permanent delete passing DELETE_HARD_DELETE (unrecoverable)
  • Click OK

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-11

In some scenario, when we open the Outlook mail profile of the user whom we remove his inbox rule the following warning message appears:

The rules on this computer do not match the rule on Microsoft Exchange. Only one set of rules can be kept. You will usually want to keep the rules on the server. Which rules do you want to keep?

  • Select – Server

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-12

  • Click OK

How to delete corrupted hidden Exchange inbox rules using MFCMAPI-13


Now it’s Your Turn!
It is important for us to know your opinion on this article

Summary
How to delete corrupted hidden Exchange inbox rules using MFCMAPI
Article Name
How to delete corrupted hidden Exchange inbox rules using MFCMAPI
Description
One of our user’s reports that he experiencing a strange phenomenon when he connects to his Exchange mailbox: Mail item that sent from the recipient automatically sent to a specific folder instead of the inbox folder, E-mail is automatically forwarded to another recipient and so on. In some scenarios, the problem could be related to corrupted hidden Exchange inbox rule. In the current article, we review how can we locate such inbox rule using the MFCMAPI tool and delete it.
Author
Publisher Name
o365info.com
Publisher Logo
Print Friendly

Please rate this

Eyal Doron on EmailEyal Doron on FacebookEyal Doron on GoogleEyal Doron on LinkedinEyal Doron on PinterestEyal Doron on RssEyal Doron on TwitterEyal Doron on WordpressEyal Doron on Youtube
Eyal Doron
Share your knowledge.
It’s a way to achieve immortality.
Dalai Lama

One Response to “How to delete corrupted hidden Exchange inbox rules using MFCMAPI”

  1. I also experience this problem; my upgraded Outlook (2016) remembers a rule from a former email address and is sending all my current emails to my old employer (which was used at the old employer as a backup email file). I did not have a message class file called IPM.Rule.Version2.Message, but instead deleted a file I thought would apply “IPM.ExtendedRule.Message”. I hope I haven’t messed something else up by permanently deleting the Extended Rule file. What do I do if the IPM.Rule.Version2.Message file does not exist?

Leave a Reply

Your email address will not be published. Required fields are marked *