«

»

十一
21
2011

Exchange 2007垃圾邮件过滤白名单设置

今天配置了一台ICINGA/Nagios服务器,尝试Sendmail和postfix后,发现给163.com邮箱发件可以收到,但是给自己域内的Exchange邮箱发送始终不成功。经过仔细分析后,发现root用户收到一封系统邮件,其中一句是 reason: 550 5.7.1 Message rejected as spam by Content Filtering.这样看来应该是被Exchange邮件服务器直接拒绝了。

为了不改变当前的Exchange邮件服务器安全策略等级,决定采用增加白名单的办法,具体操作如下:

打开Exchange Management Shell,首先检查当前的设置,使用以下命令:Get-ContentFilterConfig,查看输出结果中的ByPassedSenders设定值,并记录。

添加新的发件人白名单:Set-ContentFilterConfig -BypassedSenders icinga@wardking.com, jdoe@abc.com
由于执行的是覆盖操作,因此在这里要把先前设定的发件人也一并附上。

如果需要添加整个域中的所有发件人到白名单,执行以下操作:
Set-ContentFilterConfig -BypassedSenderDomains wardking.com, *.xyz.com

当白名单添加至一定数量时,会发现以上的操作很麻烦,此时可以使用变量:
执行添加操作:
$x = Get-ContentFilterConfig
$x.BypassedSenders += “icinga@wardking.com”, “nagios@wardking.com”

执行删除操作:
$x = Get-ContentFilterConfig
$x.BypassedSenders -= “icinga@wardking.com”

清空名单列表
Set-ContentFilterConfig -BypassedSenders $null

Permanent link to this article: http://www.wardking.com/2011/11/message-rejected-as-spam-by-content-filtering/

发表评论

呢称和邮箱是必填项,您的邮箱只有管理员可见。

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>