On Thu, January 19, 2006 12:06 pm, Volker Kuhlmann wrote:
>> 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.
Thanks for that - I think I'll get rid of the one in /etc and add a
default .procmailrc into /etc/skel instead.
>
> Perhaps you should reassess your overall setup?
Don't you think that this might be what I am doing?
>
> Volker
>
> --
> Volker Kuhlmann                       is possibly list0570 with the domain in 
> header
> http://volker.dnsalias.net/           Please do not CC list postings to me.
>
Cheers,

Steve

-- 
Work like you don't need the money,
Love like your heart has never been broken and
Dance like no one can see you.

Reply via email to