You are referring to the Custom Weight List file -- a .XML file that should be created and saved in Unicode format in the same directory where the MSExchange.UceContentFilter.dll and .dat files reside -- exchsrvrbinMSCFV2 by default.
It should be called MSExchange.UceContentFilter.xml. By default, Windows Notepad saves in ANSI format. Make sure you change that from the Encoding drop-down to Unicode in the Save/Save As dialog box).
The format (reproduced here) is documented in Exchange Server 2003 Service Pack 2 Release Notes and is fairly easy to understand. The value of TYPE field can be BODY, SUBJECT, or BOTH.
The CHANGE field defines the action to be taken on the spam confidence level (SCL) field -- increase/decrease it by a certain number, or make it MIN (minimum) or MAX (maximum).
The TEXT field should include the string/key word or phrase you're looking for in a message and can be up to 1,000 characters.
Note: You will need to restart the SMTP service to load/reload this file, and it should be copied or moved to the new folder created by Intelligent Message Filter updates as described in Microsoft KB article 907747.
I appreciated your help on this topic, but I couldn't get it to work for myself. Beyond just the format, would it be possible to give me the actual code used to create this .xml file? My Spam Confidence Level is 6.
Here is the full code of the MSExchange.UceContentFilter.xml file, as shown in Exchange Server 2003 SP2 Release Notes:
<?xml version="1.0" encoding="UTF-16"?>
<CustomWeightEntry Type="BODY" Change="1" Text="foo1"/>
<CustomWeightEntry Type="BODY" Change="-1" Text="foo2"/>
<CustomWeightEntry Type="BODY" Change="5" Text="Special offer"/>
<CustomWeightEntry Type="BODY" Change="-9" Text="VerlÄngertes Angebot"/>
<CustomWeightEntry Type="SUBJECT" Change="MIN" Text="特別提供"/>
<CustomWeightEntry Type="BOTH" Change="MAX" Text="Offre spÉciale"/>
Also, be sure to take a look at my post Troubleshooting IMF: Important performance counter to avoid a common mistake with the Custom Weighting file.
Bharat Suneja, Exchange Server Administration expert
Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchExchange.com:
This was first published in March 2006