歡迎您光臨本站 註冊首頁

qmail與spamassassin問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

qmail與spamassassin問題

我的系統用的是centos 4.6,用的qmail+vpopmail+igenus+igenus_admin++spamassassin+qmailadmin郵件組合方案
現在有一個問題時當我在qmailadmin中加上防垃圾郵件功能時,無法收信,在/var/log/qmail/current中的日誌信息如下:
@400000004892c424035cdcdc end msg 5246223
@400000004892c42403630ecc new msg 8131893
@400000004892c4240363d21c info msg 8131893: bytes 6373 from <#@[]> qp 3446 uid 522
@400000004892c42404a7eadc delivery 30026: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000004892c42404aa5fc4 status: local 0/10 remote 0/20
@400000004892c42405eb76fc starting delivery 30027: msg 8132511 to local vicp.net-postmaster@longshine168.vicp.net
@400000004892c42405eb82b4 status: local 1/10 remote 0/20
@400000004892c4240856d1ac bounce msg 8132510 qp 3464
@400000004892c4240856d97c end msg 8132510
@400000004892c424085cffb4 new msg 8131896
@400000004892c424085dc304 info msg 8131896: bytes 6395 from <#@[]> qp 3464 uid 522
@400000004892c4240a93a634 starting delivery 30028: msg 8132512 to local vicp.net-tiger.zhang@longshine168.vicp.net
@400000004892c4240a93ae04 status: local 2/10 remote 0/20
@400000004892c4240a93b1ec delivery 30027: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000004892c4240a93b5d4 status: local 1/10 remote 0/20
@400000004892c4240a93b9bc triple bounce: discarding bounce/8132511
@400000004892c4240a93bda4 end msg 8132511
@400000004892c4240a9aab14 new msg 8131895
@400000004892c4240a9aaefc info msg 8131895: bytes 6395 from <#@[]> qp 3461 uid 522
@400000004892c4241539d0a4 starting delivery 30029: msg 8132516 to local vicp.net-tiger.zhang@longshine168.vicp.net
@400000004892c4241539d874 status: local 2/10 remote 0/20
@400000004892c4241539dc5c delivery 30028: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000004892c4241539e044 status: local 1/10 remote 0/20
@400000004892c4241539e42c new msg 8131894
@400000004892c424153b9d94 info msg 8131894: bytes 6361 from <#@[]> qp 3449 uid 522
@400000004892c424302687cc bounce msg 8132512 qp 3473
@400000004892c42430269384 end msg 8132512
@400000004892c4250d3e1d24 delivery 30029: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000004892c4250d3e28dc status: local 0/10 remote 0/20
@400000004892c4250d3e2cc4 starting delivery 30030: msg 8132517 to local vicp.net-tiger.zhang@longshine168.vicp.net
@400000004892c4250d3e3494 status: local 1/10 remote 0/20
如果不開啟該功能,能正常收發。


我的.mailfilter文件內容如下 ,放在我域目錄下
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
#check dir
`test -d $VHOME/Maildir/`
if( $RETURNCODE != 0 )
{
echo "Sorry,_no_mailbox_here_by_that_name."
EXITCODE=77
exit
}

#blacklist
#
`test -f $VHOME/.blacklist`
if ($RETURNCODE==0)
{
$DOMAIN=`expr $SENDER : '.*@\(.*\)'`
if ($SENDER ne '' && (lookup($SENDER, "$VHOME/.blacklist") || lookup($DOMAIN, "$VHOME/.blacklist")))
{
#to "$VHOME/Maildir/.Trash/"
to /dev/null
}
}

#whitelist
#
`test -f $VHOME/.whitelist`
if ($RETURNCODE==0)
{
if ($SENDER ne '' && lookup($SENDER, "$VHOME/.whitelist"))
{
to "$VHOME/Maildir/"
}
}

#spamassassin
#
if ($SIZE <262144>> $VHOME/Maildir/maildirsize`
to 「$VHOME/Maildir/.Trash/」
}
else
{
exception {
to 「$VHOME/Maildir/」
}
exception {
to 「$VPOP」
}
}


我的.qmail-default內容如下,目錄同.mailfilter
|/usr/local/bin/maildrop ./.mailfilter

想請問一下,我在/home/vpopmail/bin/下運行如下命令,為什麼會出現找不到用戶名的現象,謝謝解答
./vuserinfo -d $EXT@$HOSTS
no such user @longshine168.vicp.net


請各位高手幫忙看一下,謝謝

[火星人 ] qmail與spamassassin問題已經有532次圍觀

http://coctec.com/docs/service/show-post-28570.html