Hi,

Don't flame me , I really need maildrop filter working.

I have checked this mailling list, read the doc, rebuild my packages ... 
nope it don't work ... :-(

below is the configuration.

what is wrong ? It is a very basic configuration with ldap.

DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop " but I have the 
feeling that maildrop is not invoked. Where can I see its logs ?

Thanks you for any help

FC


-------------------------------------
rpm -qa |grep courier:

courier-imapd-0.36.0.20011118-1
courier-ldap-0.36.0.20011118-1
courier-0.36.0.20011118-1
courier-sendmail-wrapper-0.36.0.20011118-1
courier-maildrop-0.36.0.20011118-1
courier-maildrop-wrapper-0.36.0.20011118-1


I correctly configured courier and imap with ldap . Mails are nicely 
delivered in  $HOME/Maildir

ldap entry is :
# fcorne, home, net
dn: cn=fcorne,dc=home,dc=net
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: CourierMailAccount
cn: fcorne
displayName: fcorne
sn: fcorne
givenName: fcorne
homeDirectory: /home/fcorne
uidNumber: 501
gidNumber: 501
clearPassword: mypasswd
mailbox: /home/fcorne/Maildir
mail: [EMAIL PROTECTED]


I try to add some filter

/etc/courier/courierd :
DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop "
MAILDROPDEFAULT=./Maildir

I add a subfolder "mytest" to INBOX and put a $home/.mailfilter :
if (/^Subject:.*Test/)
{
    to Maildir/.mytest

}
% ls -la
-rw-------    1 fcorne   fcorne         50 nov 27 15:19 .mailfilter
drwx------    7 fcorne   fcorne       4096 nov 27 10:53 Maildir/

% ls -la /home/fcorne/Maildir/
total 36
drwx------    7 fcorne   fcorne       4096 nov 27 10:53 ./
drwxr-xr-x   10 fcorne   fcorne       4096 nov 27 15:19 ../
drwx------    5 fcorne   fcorne       4096 nov 27 10:59 .Trash/
drwx------    5 fcorne   fcorne       4096 nov 27 10:56 .mytest/
-rw-r--r--    1 fcorne   fcorne         11 nov 27 10:53 
courierimapsubscribed
-rw-r--r--    1 fcorne   fcorne        279 nov 27 15:19 courierimapuiddb
drwx------    2 fcorne   fcorne       4096 nov 27 15:19 cur/
drwx------    2 fcorne   fcorne       4096 nov 27 15:19 new/
drwx------    2 fcorne   fcorne       4096 nov 27 15:20 tmp/


restarting courierd
then :

% echo "essai" |mail fcorne -s Test

but the mail go always to the default INBOX folder , and never to the 
"mytest" folder ...

I have tryed to put the same contition in /etc/courier/maildroprc or in 
$HOME/.maildirfilters/default but same result.



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to