Q

Enabling Custom Weight List functionality after Exchange 2003 SP2 upgrade

Learn how to enable Custom Weight List -- the .XML file used for the Intelligent Message Filter's 'Bad Word List." -- after an Exchange 2003 Service Pack 2 upgrade.

This Content Component encountered an error
I recently upgraded our Exchange 2003 SP1 mail server to Exchange 2003 SP2. The install went perfectly. How do I create the .XML file used for the Bad Word List? I have not found any documentation on this subject on Microsoft's Web site. If you know of any documentation, could you kindly forward it along?
VIEW MEMBER FEEDBACK TO THIS ASK THE EXPERT Q&A.

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.

MEMBER FEEDBACK TO THIS ASK THE EXPERT Q&A:

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.
—Kalyan C.

******************************************

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"?>
<CustomWeightEntries xmlns="http://schemas.microsoft.com/2005/CustomWeight">
<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"/>
</CustomWeightEntries>

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:

  • Checklist: Top 10 best practices for securing e-mail clients
  • Tip: Freeware tool fine tunes Exchange's built-in spam filter
  • Learning Guide: How to fight spam on Exchange Server
  • Article: Exchange spam filter gets bigger vocabulary
  • Reference Center: Spam prevention and management resources
  • Reference Center: Exchange 2003 tips and resources
  • This was first published in March 2006

    Dig deeper on Spam and virus protection

    Pro+

    Features

    Enjoy the benefits of Pro+ membership, learn more and join.

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    0 comments

    Oldest 

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to:

    -ADS BY GOOGLE

    SearchWindowsServer

    SearchEnterpriseDesktop

    SearchCloudComputing

    SearchSQLServer

    Close