extmail 的自定义垃圾邮件问题
本帖最后由 kb2008 于 2011-04-15 17:53 编辑
我的是EXOS1.5的邮件服务器
自定义垃圾邮件
$more /etc/maildroprc
# Decoder for high quality key word filtering
# Author: hzqbbc <hzqbbc@hzqbbc.com> - ExtMail Dev Team
DECODER="/var/www/extsuite/extmail/tools/decode -v"
if ((/^(From|Sender|Return-Path):.*MAILER\-DAEMON/))
{
BADSENDER=1
}
# Custom filter and auto deliver to Junk mailbox support
# need test command and other Unix command
`test -f $HOME/.mailfilter && exit 1 || exit 0`
# No customize filtering rules
if ( $RETURNCODE == 0 )
{
if (/^X-Spam-Flag:.*YES/ || /^X-DSPAM-Result:.*Spam/)
{
exception {
to "$HOME/Maildir/."
}
}
}
但是 不知道为什么,我正常的邮件也被这个规则匹配到了
邮件头:
From - Fri Apr 15 16:32:37 2011
X-Account-Key: account4
X-UIDL: UID68887-1245417081
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Return-Path: <l*********>
Delivered-To: **********Received: from localhost (localhost.localdomain [127.0.0.1])
X-DSPAM-Result: Innocent -------------------------------------------------------
X-DSPAM-Processed: Fri Apr 15 16:35:52 2011
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 1,4da80368151261932080670
X-Spam-Flag: NO ----------------------------------------------------------------------
X-Spam-Score: 2.384
X-Spam-Level: **
用户是没有自己的垃圾邮箱规则的
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论