qmail下maildrop问题!!!
我在qmail下安装maildrop后,编辑/home/vpopmail/domains/localhost.com(你创建的域)/ 建立mailfilter文件touch mailfilter
chown vpopmail:vchkpw mailfilter
chmod 700 mailfilter
vi mailfilter
#mailfilter内容如下:
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` VSPAM=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
`test -d $VHOME/Maildir/`if( $RETURNCODE != 0 ){ echo "Sorry , but the user $EXT@$HOST dos not exist" EXITCODE=77 exit}
if ( $SIZE < 262144 ) { exception { xfilter "/usr/bin/spamc -f -u $EXT@$HOST" } } if (/^X-Spam-Flag: YES/) { to "$VSPAM/Maildir/.Trash/." EXITCODE=0 } else { to "$VHOME/Maildir/." }
#修改.qmail-default内容如下:
vi .qmail-default
| preline /usr/local/bin/maildrop mailfilter
按照上面的那个进行编辑后,无法接收信了,请问这个是怎么回事呀??但是将qmail-default文件的内容还原到初始值就没有问题???
页:
[1]