How to delete junk email rules by using MFCMAPI in an Exchange Server environment
How to delete a junk email ruleNote If you permanently delete a junk email rule, you cannot recover any addresses that appear in the Junk Email Filter Lists. Make sure that you export the lists before you delete the junk email rule.
For more information about how to export addresses from the Junk Email Filter Lists, go to the following Microsoft website:
To delete a junk email rule, follow these steps:
- As an administrator, create a new mail profile by using Outlook in online mode.
For more information about how to create and configure a mail profile, go to the following Microsoft website:
- Export the list of addresses that contain safe senders and blocked senders to a text (.txt) file.
- Download MFCMAPI from the following Microsoft website:
Note Only an Exchange administrator who has full permissions of a mailbox can use the MFCMAPI tool to remove a junk email rule.
- Close all Outlook clients that access the mailbox. Otherwise, the MFCMAPI tool cannot correctly delete the junk email rule.
- Use the MFCMAPI tool to delete the junk email rule. To do this, follow these steps:
- Open MFCMAPI.
- Click the Session tab and select Logon. (The screen shot for this step is listed below).
- Double-click the default Exchange mailbox store in the list. This is displayed as UserName@DomainName.com. A new MFCMAPI window will open.
- Expand Root Container, and then expand Top of Information Store. (The screen shot for this step is listed below).
Note If you see IPM_SUBTREE in the list, then you are accessing the mailbox by using cached Exchange mode. Exit MFCMAPI and change the mail profile to use online mode.
- Under Top of Information Store, select Inbox.
- Right-click Inbox and select Open associated contents table. A new MFCMAPI window will open.
- Sort the top pane by the Message Class column and locate IPM.ExtendedRule.Message. Only one Inbox will be displayed.
- Select IPM.ExtendedRule.Message on the top pane.
- In the bottom pane, sort by the Tag column and locate 0x65EB001E. This tag corresponds to the JunkEmailRule value. (The screen shot for this step is listed below).
- After you locate the junk email rule by locating the 0x65EB001E tag, click to select IPM.ExtendedRule.Message again in the top pane.
- Right-click IPM.ExtendedRule.Message and select Delete message. The Delete Item window will open.
- In the Deletion style drop-down list, select Permanent delete passing DELETE_HARD_DELETE (unrecoverable), and then click OK. (The screen shot for this step is listed below).
- IPM.ExtendedRule.Message should disappear from the top pane after the rule is deleted.
- Close the first two MFCMAPI windows.
- On the final MFCMAPI window, click the Session tab and select Logoff to close the MAPI session. (The screen shot for this step is listed below).
- Close the final MFCMAPI window.
- Start Outlook again.
- On the Home tab, in the Delete group, click Junk, and then select Junk E-mail Options.
- Examine each tab for Safe Senders, Safe Recipients and Block Senders. No addresses will be displayed in any of the lists. If addresses still appear, then the junk email rule was not deleted correctly.
- Import email addresses into Junk Email Filter Lists by using the lists that you exported in step 2.
For more information about how to import email addresses into Junk Email Filter Lists, go to the following Microsoft website:
Article ID: 2860406 - Last Review: 09/01/2016 01:21:00 - Revision: 4.1
- kbsurveynew kbexpertiseinter kbhowto kbinfo kbgraphxlink KB2860406