> Does anyone know a way of forcing the local ~/.procmailrc to take
> precedence over the system-wide /etc/procmailrc? At the moment it wseems
> to be the other way round.

I don't believe the man page of procmail is inaccurate:

    If  no rcfiles and no -p have been specified on the command line, proc-
    mail will, prior to reading $HOME/.procmailrc, interpret commands  from
    /etc/procmailrc  (if  present).   Care  must  be  taken  when  creating
    /etc/procmailrc, because, if circumstances permit, it will be  executed
    with  root  privileges  (contrary  to  the  $HOME/.procmailrc  file  of
    course).

You're probably stuck with that order of things. You could try to
INCLUDERC=$HOME/.procmailrc from /etc/procmailrc, but you better search
the procmail resources for the correct way to do this and for any
potentially deadly side effects of this. In particular, read "... will
be executed with root privileges..." another 3 times for some ideas of
what might happen to those who try to pull tricks on /etc/procmailrc...
Read the warnings section of man procmail.

Perhaps you should reassess your overall setup?

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to