Recently I started to come across more Intelligent Message Filter installations having problems with emails not moving to the Junk Email folder. Verifying the configuration is usually the first step. Things like:
However sometimes everything is correctly configured, but the Junk Email folder just won't work.
In IMF a server-side rule performs the movement of emails to Junk. For Outlook 2003 users this rule is created when Outlook logs onto the mailbox for the first time. Otherwise this is created when the Junk E-mail settings are configured at OWA.
When nothing else works, deleting and recreating this rule can be the solution to fix the Junk Email folder. We do this using the MAPI Editor, a download included with the Exchange Server 2003 Tools.
MAPI Editor Prerequisites
The MAPI Editor requires direct access to the Exchange mailbox having Junk Email problems. As the name implies it uses MAPI, an interface that is readily available with Outlook.
Outlook 2003 users will need to make sure that the client is not running in cached mode. The steps for disabling cached mode are described at the end of the article.
Users whose only email client is OWA are likely to be missing MAPI. We can make up for this by installing Outlook or the Exchange MAPI Client. Microsoft is today providing the latter for free with the Exchange Tools. This is good, as we don't have to worry about Outlook licensing.
To get the MAPI client go again to the Exchange Server 2003 Tools. From here scroll down to 'Exchange MAPI Client and Collaboration Data Objects 1.2.1' and start the download. Install this on the machine where the MAPI Editor is to be run. On completing installation no new applications become visible. We just get the MAPI interface, which is all we need.
Recreating the Junk E-mail Rule
Once all prerequisites are in place we can focus on getting the Junk Email rule recreated.
Move the MAPI Editor download to the client machine from which the mailbox is to be accessed. Running the executable will extract the files mfcmapi.exe, mfcmapi.doc and eula.rtf
Run the just extracted mfcmapi.exe to start the editor.
Click OK on the Welcome dialog to get to the main application interface.
Next Logon to the mailbox from Session | Logon and Display Store Table
If the logon pops an error it is likely MAPI is not in place. This is what you get for skipping the MAPI Editor Prerequisites section!
If MAPI is installed but no profiles are configured, the profile configuration wizard comes up. Configure a profile to the mailbox having problems.
Otherwise if profiles are in place, we get the profile selection dialog. Select the MAPI profile and click OK to Logon.
MAPI Editor will now list the profile mailboxes. Double click on the mailbox of interest.
MAPI Editor opens a new dialog showing the internal mailbox folder structure. At the left pane tree collapse the Root Container node. Here amongst others we should see 'Deferred Action' and 'Top of Information Store' as shown below:
If the MAPI Editor does not show the same folder structure as below, and shows a node named "IPM_SUBTREE", then the client is using Outlook 2003 cached mode. In that case, close the MAPI Editor, disable cached mode and restart the procedure. See the end of this article for a step-by-step procedure on disabling cached mode.