Source: http://support.microsoft.com/?kbid=907747
This article describes the update process that you can use to maintain the Intelligent Message Filter version 2 that is included with Microsoft Exchange 2003 Service Pack 2 (SP2).
The updates are available every first and third Wednesday through Microsoft Update and Automatic Updates technologies. The article also describes the update process, the version numbering system, the uninstallation process, and the manual procedures for updating or for rolling back updates.
Intelligent Message Filter updates are supported in the following configurations:
On a server that is running Exchange Server 2003 SP2 or a later version of Exchange Server 2003, with Intelligent Message Filter enabled
On a server that is running both Microsoft Small Business Server and Exchange Server 2003 SP2 or a later version of Exchange Server 2003, with Intelligent Message Filter enabled
Intelligent Message Filter updates are available every first and third Wednesday through Microsoft Update and Automatic Updates technologies. Organizations can also use Windows Server Update Services (WSUS) and System Management Services to deliver the updates in a corporate environment.
When the Exchange Server team cannot release the update on a Wednesday, they will release the update on the following day. In case the update is unavailable on a Thursday, the update for that week will be skipped. Then, the update will be released on the next scheduled Wednesday.
The Intelligent Message Filter is language-independent. Intelligent Message Filter updates are offered for all language versions of Exchange Server 2003.
How to enable updates
After you enable the Intelligent Message Filter in Exchange System Manager, to enable Intelligent Message Filter updates, you must create the ContentFilterState registry entry. To do this, follow these steps:1. Click Start, click Run, type regedit, and then click OK.
2. Expand the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange
3. In the left pane, click Exchange. Then, right-click in the right pane, point to New, and then click DWORD Value.
4. Type ContentFilterState, and then press ENTER to name the new registry entry.
5. Right-click ContentFilterState, and then click Modify.
6. In the Data value box, type 1, and then click OK.
7. Quit Registry Editor.
8. In the Services snap-in, restart the Simple Mail Transfer Protocol (SMTP) service.
Version numbers
An Intelligent Message Filter update package includes both a .dll file and a .dat file for the filter. The version information for the Intelligent Message Filter update files MSExchange.UceContentFilter.dll and MSExchange.UceContentFilter.dat reflects the Exchange Server build versioning in the following format: MajorProductVersion.MinorProductVersion.MajorNumber.MinorNumber. The version numbers are consistent with the Exchange Server build number, such as 6.5.XXXX.X. This makes it easier to identify the version number of the Intelligent Message Filter update that you have installed on the computer.
The update package version of an Intelligent Message Filter update is based on the date of the package build. Additionally, the update package version of an Intelligent Message Filter update is identified in the package name. For example, an update package that is dated December 14, 2005 has the following title:
Update for Intelligent Message Filter on Exchange Server 2003: 2005.12.14 (KB907747)
The executable package for this update has the following file name:
IMF-KB907747-2005.12.14-x86.exe
The update process
By default, when the Intelligent Message Filter is installed together with Exchange Server 2003 SP2, a new folder that is named MSCFV2 is created. The Intelligent Message Filter engine and the .dat file are stored in the following location:
Drive_Letter:\Program Files\Exchsvr\Bin\MSCFV2
Subsequent updates are stored in subfolders under the MSCFV2 folder. The subfolders are named according to the version number of the updates. For example, after you install several updates, the folder structure may appear as follows:
Drive_Letter:\Program Files\Exchsvr\Bin\MSCFV2
Drive_Letter:\Program Files\Exchsvr\Bin\MSCFV2\6.5.7612.0
Drive_Letter:\Program Files\Exchsvr\Bin\MSCFV2\6.5.7615.0
Drive_Letter:\Program Files\Exchsvr\Bin\MSCFV2\6.5.7620.0
The registry entry that is described in the "Enable updates" section reflects the state of the Intelligent Message Filter. This registry entry also serves as a reference point for the Intelligent Message Filter update package installer and for the Microsoft Update detection logic. This registry entry enables the update package installer to know whether the Intelligent Message Filter update functionality has been enabled on the server. If the registry entry does not exist, Intelligent Message Filter update packages are not offered. If the registry entry exists, Intelligent Message Filter update packages are offered.
The existing active version of the .dat file that is currently installed on the computer is recorded under the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Exchange Server 2003\SP3
For example, after you install the IMF-KB907747-2005.12.14-x86.exe update, the registry entry is similar to the following:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Exchange Server 2003\SP3\KB907747
This registry entry is verified every time that an update is offered for installation. If an update is successfully installed, the registry entry is updated. The update package installer knows which update is currently being installed. The update package installer compares that value to the current registry entry value. If the value is earlier than the update that is currently being offered, the update package installer performs the following actions, in this order:1. Verifies that Exchange Server 2003 SP2 or a later version is installed on the server.
2. Records the existing active version number from the following registry entry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Updates\Exchange Server 2003\SP3
3. Creates a subfolder that is named the same as the build number. This subfolder is created in the MSCFV2 folder. The path of the folder is similar to the following:
Drive_Letter:\Program Files\ExchSrvr\Bin\ MSCFV2\BuildNumber
4. Copies the Intelligent Message Filter .dll file and the Intelligent Message Filter .dat file to the newly created subfolder.
5. Registers the Intelligent Message Filter .dll file.
6. Updates the registry key based on the update version number.
7. Deletes all updates that exist on the system except for the current update that has been installed by the update package installer and the last two updates. Therefore, after the first three updates, the next update removes the oldest update. This always leaves the latest three updates on the computer. Updates are installed in a sequential order. For example, if updates U1, U2, U4 are installed, the next update that can be installed is U5 or a later update. When U5 is installed, U1 is removed.
8. During the update process, the update package installer restarts the IIS Admin Service for the package to take effect.