[maildropl] Maildrop deliver and quota work, but .mailfilter don't
Brought to you by:
mrsam
From: Num b. <num...@ho...> - 2008-03-19 11:32:22
|
Hello, For begining i would like to excuse my self if my english is bad... i try to do the best and it's not enough.. I have a problem with maildrop, i use it for delivering mail and i have quota support, everything work exepting mail filter.. This is my configuration : Every account was virtual (mysql) and in this directory : /var/spool/postfix/virtual/domaine_name/account_name -> eg : /var/spool/postfix/virtual/test.be/admin This is my master.cf : maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -w 90 -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop} ${sender} -w 90 work for quota alert.. And i have this in main.cf : virtual_transport = maildrop Maildrop work fine : [root@test admin]# maildrop -V9 -d ad...@te... maildrop -V9 -d ad...@te... maildrop: authlib: groupid=9000 maildrop: authlib: userid=9000 maildrop: authlib: logname=ad...@te..., home=/var/spool/postfix/virtual, mail=test.be/admin/ maildrop: Changing to /var/spool/postfix/virtual I have a .mailfilter in /var/spool/postfix/virtual for everyone (i already read this .. ) and one in /var/spool/postfix/virtual/test.be/admin/ for admin user only This is my /var/spool/postfix/virtual/test.be/admin/.mailfilter : `test -d $HOME/.INBOX.LogWatch` if ( $RETURNCODE == 1 ) { `maildirmake -f .INBOX.LogWatch $HOME/` `echo LogWatch>> $HOME/subscriptions` } if ( /^From: log...@so.../ ) to "$HOME/.INBOX.LogWatch" And my /var/spool/postfix/virtual.mailfilter : `[ -d $DEFAULT ] || (maildirmake $DEFAULT && maildirmake -f Spam $DEFAULT && maildirmake -f sent-mail $DEFAULT)` `test -r $HOME/.mailfilter` if( $RETURNCODE == 0 ) { log "(==) Including $HOME/.mailfilter" exception { include $HOME/.mailfilter } } But when it's enable mail never come even in INBOX .. thanks for your help.. _________________________________________________________________ Changez votre Live en un clic ! http://get.live.com |