procmail
[Top] [All Lists]

System wide procmailrc taking precedence over user's file

2002-03-10 05:49:50
Hello,

I've had a look in the FAQ and the docs and I can't find the answer to this, though I think it must be quite simple.

I am using procmail as sendmail's LDA to deliver mail to Maildirs in the user's home directory.

I have a system wide rc file in /etc which just contains:
DROPPRIVS=yes
LOGFILE=/var/log/procmail
VERBOSE=on
:0
*
$HOME/Maildir/

Which serves to make sure that all mail goes in to the user's maildir (from where courier-imap serves it)

What I want is for the users to be able to use their own .procmailrc to add filtering of their own. I was assuming that the user's .procmailrc would be processed ahead of the system wide one, but it doesn't seem to be. I tried moving the system wide rc file to force procmail to use the one in my home directory, but then procmail stopped performing any delivery at all (and produced no messages in the logs) and the mail ended up in my normal mail spool.

I don't know why procmail isn't using my .procmailrc - is it something to do with it being Sendmail's LDA? Presumably it runs as root until it drops privs.

Can anyone help?

Thanks,

Andy

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>