6 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop deliver and quot...
FromSent OnAttachments
Num berMar 19, 2008 4:31 am 
Num berMar 19, 2008 5:11 am 
"Fábio M. Catunda"Mar 19, 2008 5:40 am 
Num berMar 19, 2008 10:38 am 
Num berMar 19, 2008 1:03 pm 
Num berMar 20, 2008 3:01 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Maildrop deliver and quota work, but .mailfilter don'tActions...
From:Num ber (numb@hotmail.com)
Date:Mar 19, 2008 4:31:51 am
List:net.sourceforge.lists.courier-maildrop

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 adm@test.be maildrop -V9 -d adm@test.be maildrop: authlib: groupid=9000 maildrop: authlib: userid=9000 maildrop: authlib: logname=adm@test.be, 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: logw@soez.be/ ) 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