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