|
|
|
请问有利用Exchange 2003 的IMF 做反垃圾邮件策略的吗?
我想利用IMF 实现对邮件内容的筛选,但是需要注册一个文件叫MSExchange.UceContentFilter.dll.
操作方法请看:
2)Custom Weighting Feature in IMF V2
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. As is the case with some of the other Exchange 2003 SP2 features such as MAPI access per userand the database size limit changes, customization to the CWF cannot be done via the user interface. Instead you need to make changes directly in an associated .xml file (MSExchange.UceContentFilter.xml). The .xml file is read by IMF version 2 upon initialization, and then reloaded every time it’s modified. The MSExchange.UceContentFilter.xml file you create should be saved under the following path:
Drive_letter:\Program Files\Exchsrvr\bin\MSCFV2
Before you can make use of the CWF you need to register the MSExchange.UceContentFilter.dll file, you do this by opening a command prompt then issue the following command:
regsvr32 Drive_letter:\Program Files\Exchsrvr\bin\MSCFV2\MSExchange.UceContentFilter.dll
When the MSExchange.UceContentFilter.dll file has been registered you can start to add words or phrases to the MSExchange.UceContentFilter.xml, normally Notepad would be sufficient for this task (just make sure you save the file as a .xml in the Unicode format!)
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="1" Text="Tortured with health problems?"/>
<CustomWeightEntry Type="BODY" Change="-2" Text=" Cigar Sampler and Bonus Gifts for Xmas"/>
<CustomWeightEntry Type="BODY" Change=”4" Text="Special offer"/>
<CustomWeightEntry Type="BODY" Change="-7" Text="Gratis piller"/>
<CustomWeightEntry Type="SUBJECT" Change="MIN" Text="Free Pills"/>
<CustomWeightEntry Type="BOTH" Change="MAX" Text="Cheap Viagra"/>
</CustomWeightEntries>
In Table below I have listed each CWF value which can be used in the MSExchange.UceContentFilter.xml file.
Value
| Description
| Type=”BODY”
| Search for value specified in text in the BODY field of the message
| Type=”SUBJECT”
| Search for value specified in text in the SUBJECT field of the message
| Type=”BOTH”
| Search for value specified in text in the BODY and SUBJECT field of the message
| Change
| The Change value is used to define what effect a matched word or phrase will have on the SCL score of a message. The Change can be any integer value. Should the word or phrase be matched, the change integer value will be added to the original SCL value. Should the value exceed the supported SCL value, it will be normalized to a 0 to 9 range. In addition to the Change can also use the MIN or MAX keywords. Any time a phrase with the MIN keyword is matched, the message is given an SCL of 0 regardless of any other weights. Any time a phrase with the MAX keyword is matched, the message is given an SCL of 9 regardless of any other weights. Any time there is both MIN and MAX matches for one message, the message is given an SCL of 0.
| Text
| The word or phrase is specified here (supports Unicode phrases up to 1,000 characters)
|
Table: Custom Weighting Feature Values
Note:
If Event ID 7514 (Description: An error occurred while loading Microsoft Exchange Intelligent Message Filter. The error code is 0x80004005) is logged in the Application log after you enabled the custom word list feature in Intelligent Message Filter version 2 on a server that is running Exchange Server 2003 Service Pack 2, chances are it’s because you saved the MSExchange.UceContentFilter.xml file in ANSI format, you should instead save it in Unicode format, for detailed steps on how you resolve this issue, see MS KB article 907970.
我的Exchange 装在D:\Program Files\Exchsvsr, 当我按照上面的方法用:regsvr32 D:\Program Files\Exchsrvr\bin\MSCFV2\MSExchange.UceContentFilter.dll
命令来注册DLL 文件时,弹出一个错误的对话框:LoadLibrary(D:\program)失败: the specified module could not be found
无法完成注册,望高手指点!!
[ 本帖最后由 bianyuan 于 2007-7-25 14:31 编辑 ] |
|