其实程序的作用只是生成了一条一条的规则,让maildrop去过滤
我搞maildrop是可以过滤,但使用maildrop做filter后用户的空间限制就没了,不知道怎么回事!
请教各位高人指导!
sysop@oncity.cc
bsdunix@mail.glnc.edu.cn
johndxr@163.com
johndxr@163.com
唉,要是这个php写的filter能融入maildrop的空间限制就好了!
期待ing....
[vchkpw] maildrop & quota & forward & autoresponder
--------------------------------------------------------------------------------
From: master
Subject: [vchkpw] maildrop & quota & forward & autoresponder
Date: Thu, 18 Mar 2004 08:58:41 -0800
Hi i have the following maildrop file to put spam on different folders :
SHELL="/bin/sh"
VHOME="/usr/local/vpopmail/domains/$USER/$EXT/Maildir"
if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/local/bin/spamassassin"
}
}
if (/^X-Spam-Status: *Yes/)
{
# try to deliver to the spam folder
exception {
xfilter "/usr/local/bin/deliverquota $VHOME/.Spam"
exit
}
}
# default delivery
exception {
xfilter "/usr/local/bin/deliverquota $VHOME"
}
### check if our message was deliverd - returncode 77 means that out maildir
was overquota - bouce mail
if( $RETURNCODE == 77)
{
to "|/var/qmail/bin/bouncesaying 'user is over quota'"
}
for the spam it seem to work well but when my user is over quota the mail is
rejected (that s great) but i don t get the email bounce back
so what s the problem in :
was overquota - bouce mail
if( $RETURNCODE == 77)
{
to "|/var/qmail/bin/bouncesaying 'user is over quota'"
}
in my log i have : delivery 1484: deferral:
user_is_over_quota/maildrop:_error_writing_to_mailbox.//usr/local/bin/maildr
op:_Unable_to_deliver_to_mailbox./
but nothing send back to me :(
and my others questions how with this configuration can we make work the
.qmail file inside the directory ? to make feature from qmailadmin worked
(the autorespond , the forwaders etc)
thanks
本文关键:小奉献:filter垃圾邮件自定义过滤 for igenus
相关方案
- Redhat9.0下Qmail…
- 反垃圾邮件的几种技术…
- [原创]Red Hat Pos…
- 针对Web服务器总体优化…
- 改 ‘干掉“W32.Sobig…
- maildrop的一些基本用法…
- snmp 服务配置…
- 轻松排除OutlookExpr…
- RedHat9-vsftp配置…
- qmail基本介绍一『qmai…
- 6天/每天12小时安装qmal…
- 安装配置一个proftpd的实…
- qmail+mysql+vpo…
- apache1.3 与tomc…
- Sendmail反垃圾邮件技术…
- procmail过滤邮件之我所…
- [转]VSFTP+MySQL虚…
- [原创]Apache 服务器L…
- Exchange2003Ser…
- 【原创】使用Forward功能…