小奉献:filter垃圾邮件自定义过滤 for igenus[6]

[入库:2005年9月21日] [更新:2007年3月24日]

本文简介:

其实程序的作用只是生成了一条一条的规则,让maildrop去过滤

 akid 回复于:2004-04-02 17:54:35 楼主真是搞邮件的,竟然想到把文件转换为邮件明文贴出来!高!

我搞maildrop是可以过滤,但使用maildrop做filter后用户的空间限制就没了,不知道怎么回事!

请教各位高人指导!

 bulletming 回复于:2004-04-02 19:58:10 maildrop好像也有检验空间限制的功能

 wohaopapaya 回复于:2004-04-02 20:13:39 xc80@sohu.com

 akid 回复于:2004-04-02 22:28:42 哪位大侠有maildrop做空间限制的配置例子啊?求救!

 oncity 回复于:2004-04-03 05:13:07 多谢一份,先谢了。

sysop@oncity.cc

 hhl00 回复于:2004-04-03 08:34:47 麻烦也给我发送一份,非常感谢!

 bsdunix 回复于:2004-04-03 15:32:50 给我也发一个看看吧,谢谢 
bsdunix@mail.glnc.edu.cn

 johndxr 回复于:2004-04-04 08:36:41 pls send it to me ,thanks

johndxr@163.com

 johndxr 回复于:2004-04-04 08:53:23 pls send it to me ,thanks

johndxr@163.com

 leaper 回复于:2004-04-04 20:52:06 发份给我leapceo@163.com

 erithe 回复于:2004-04-05 08:37:38 erithe@163.com[url]

 Assassin 回复于:2004-04-05 12:14:39 是呀,空间限制就没了,哪位有maildrop空间限制的例子,给大家贴一个吧。

 akid 回复于:2004-04-07 14:52:02 没有了空间限制,邮件系统有过滤功能有什么用?

唉,要是这个php写的filter能融入maildrop的空间限制就好了!
期待ing....

 akid 回复于:2004-04-07 14:55:48 有空试一下!

[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
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top