1 message in net.sourceforge.lists.courier-maildrop[maildropl] Problem reading users .ma...
FromSent OnAttachments
shamshu shaikhDec 30, 2005 3:23 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] Problem reading users .mailfilter fileActions...
From:shamshu shaikh (sham@hotmail.com)
Date:Dec 30, 2005 3:23:40 am
List:net.sourceforge.lists.courier-maildrop

Hi all,

I have a qmail-vpopmail setup which is running fine.I have made a .mailfilter file in a users's home directory but when ever i fetchmail from remote mailserver and distribute to local users the maildrop deliver's the mail to default mailbox which is /root as echo $HOME is /root and since there is no maildir in /root the mail gets lost.

The .qmail-default file for test.com domain is as follows [root@mailserv test.com]# cat .qmail-default | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

I have a user sanjay whose mailbox path is /home/vpopmail/domains/test.com/sanjay/Maildir

[root@mailserv sanjay]# vi .mailfilter .......... truncated lines # Trashing test messages if (/^Subject:test$/) { exception { to /home/vpopmail/domains/test.com/sanjay/Maildir/.Trash/ } }

I have not created /etc/maildroprc file so that maildrop reads the users .mailfilter file but it is not reading the .mailfilter file.

[root@mailserv maildrop]# cat config.h | grep DEFAULT define DEFAULT_DEF "Maildir/"

How should i make maildrop read normal users .mailfilter file .Any solution or suggestion is highly appreciated Is there any file permissions i need to change or set.

Regards shamshu