免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: bulletming
打印 上一主题 下一主题

[Mail] 小奉献:filter垃圾邮件自定义过滤 for igenus [复制链接]

论坛徽章:
0
41 [报告]
发表于 2004-04-04 08:36 |只看该作者

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

pls send it to me ,thanks

johndxr@163.com

论坛徽章:
0
42 [报告]
发表于 2004-04-04 08:53 |只看该作者

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

pls send it to me ,thanks

johndxr@163.com

论坛徽章:
0
43 [报告]
发表于 2004-04-04 20:52 |只看该作者

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

发份给我leapceo@163.com

论坛徽章:
0
44 [报告]
发表于 2004-04-05 08:37 |只看该作者

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

erithe@163.com[url]

论坛徽章:
0
45 [报告]
发表于 2004-04-05 12:14 |只看该作者

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

是呀,空间限制就没了,哪位有maildrop空间限制的例子,给大家贴一个吧。

论坛徽章:
0
46 [报告]
发表于 2004-04-07 14:52 |只看该作者

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

没有了空间限制,邮件系统有过滤功能有什么用?

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

论坛徽章:
0
47 [报告]
发表于 2004-04-07 14:55 |只看该作者

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

有空试一下!

[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

论坛徽章:
0
48 [报告]
发表于 2004-04-07 14:57 |只看该作者

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

see the maildrop script in my post 'Re: [vchkpw] possible bug in vdelivermail' of March 4. It should be possible to solve your problem with a line
to "| /path/to/vdelivermail '' bounce-no-mailbox"
that starts standard vpopmail/qmail delivery and takes the .qmail file in the mailuser home into account. However, in my case it doesnt work properly. It does all qmailadmin features fine except forwarding! I was not able to solve the issue and so far nobody came up with a solution. It seems not to be a maildrop problem as some .qmail features work. From looking at the vdelivermail source I see no obvious bug as well. So my guess is some interaction thing, a system wide parameter that is lost while using maildrop (that is maybe also the answer to your other question). At the moment I found no better way than to scan the .qmail file from maildrop and check for a forward address and do the forwrd thing from within maildrop (yuck!).

andrej

论坛徽章:
0
49 [报告]
发表于 2004-04-08 17:36 |只看该作者

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

me 2
bigsix2001@hotmail.com

论坛徽章:
0
50 [报告]
发表于 2004-04-08 18:32 |只看该作者

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

建议贴出来共享一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP