This article describes how to manually delete junk email rules by using the Microsoft Exchange Server MAPI (MFCMAPI) tool in a Microsoft Exchange Server 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:
For more information about the overview of Junk Email Filter, go to the following Microsoft website:
2655142 Outlook Junk Email settings ignored after you move a mailbox to Exchange Server 2010For more information about a junk email list limit issue, click the following article number to view the article in the Microsoft Knowledge Base:
2669081 Outlook error indicating you are over your Junk E-mail list limitFor more information about a junk email rule management issue, click the following article number to view the article in the Microsoft Knowledge Base:
2591572 "Junk e-mail validation error" error message when you manage the junk email rule for a user’s mailbox in an Exchange Server 2010 environment
Article ID: 2860406 - Last Review: Sep 1, 2016 - Revision: 1
Microsoft Exchange Server 2010 Enterprise, Microsoft Exchange Server 2010 Standard, Microsoft Exchange Server 2013 Enterprise, Microsoft Exchange Server 2013 Standard Edition, Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition