- 论坛徽章:
- 0
|
我安装的是qmail+vpopmail+maildrop+H-BEV+qmail-scanner+spamassassin
我的系统是redhat9.0,现在的问题是我用maildrop调用spamassassin时不起作用,我查看/var/log/qmail/current 发现如下错误:
delivery 1: deferral : ./mailfilter(27):_Syntax_error./
下面是我的mailfilter内容:
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
}
}
if (/^X-Spam-Flag: YES/)
{
# try filtering it using user-defined rules
exception {
include $VHOME/Maildir/.mailfilter
}
# then try delivering it to a Spam folder
exception {
# to "$VPOP"
to "$VHOME/Maildir/.Spam/"
}
# ah well, I guess they'll just have to live with disappointment
exception {
to "$VPOP"
}
}
else --------------------------------〉第27行
{
exception {
include $VHOME/Maildir/.mailfilter
}
exception {
to "$VPOP"
}
}
日志上好像是说在mailfilter第27行有语法错误。我不知为何,请各位大虾帮忙解决!谢谢!! |
|