Monday, February 16, 2009

Custom Weighting Feature for Exchange IMF

IMF version 2 includes a completely new feature called the Custom Weighting Feature (CWF), which allows you to customize IMF even further. With CWF you can filter e-mail messages based on specific phrases within the body of the messages, the subject line or both.

Below is an example of specific phrases and values you can use in the MSExchange.UceContentFilter.xml file.

<?xml version="1.0" encoding="UTF-16"?>

<CustomWeightEntries xmlns="http://schemas.microsoft.com/2005/CustomWeight">
<CustomWeightEntry Type="BODY" Change="5" Text="abcde"/>
<CustomWeightEntry Type="BODY" Change="-5" Text="fghij"/>
<CustomWeightEntry Type="BODY" Change=”6" Text="klmno"/>
<CustomWeightEntry Type="SUBJECT" Change="MIN" Text="pqrst"/>
<CustomWeightEntry Type="BOTH" Change="MAX" Text="uvwxy"/>
</CustomWeightEntries>

Notes:
1. MSExchange.UceContentFilter.xml, should always be in the working path of IMF in latest update subfolder (be sure to check them regularly againts IMF Update)
2. You migh to restart SMTP services to make sure no problem while loading them
3. MSExchange.UceContentFilter.xml file should saved in Unicode format
4. SCL Result : a. determine by + and - change, b. if MAX match then reset to 9, c. if MIN macth then reset to 0.
5. CWLs will not match an entry to a substring of a word, but will match a shorter phrase to part of a longer phrase