邮件服务器-邮件系统-邮件技术论坛(BBS)

 找回密码
 会员注册
查看: 4231|回复: 1
打印 上一主题 下一主题

[已解决] Exchange 2003 做IMF 注册MSExchange.UceContentFilter.dll文件失败!

[复制链接]
跳转到指定楼层
顶楼
发表于 2007-7-25 12:31:32 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
请问有利用Exchange 2003 的IMF 做反垃圾邮件策略的吗?

我想利用IMF 实现对邮件内容的筛选,但是需要注册一个文件叫MSExchange.UceContentFilter.dll.

操作方法请看:

2Custom 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 编辑 ]
沙发
 楼主| 发表于 2007-7-25 14:32:20 | 只看该作者
已经解决.

通过命令提示符进入文件夹注册.!
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2026-8-6 06:05

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

快速回复 返回顶部 返回列表