procmail
[Top] [All Lists]

Re: /etc/procmailrc

1999-12-21 23:20:57
Glen Lee Edwards <GLEdwards(_at_)uswest(_dot_)net> writes:
What is the difference between /etc/procmailrc and ~/.procmailrc?  Can you
run the same type of recipes?  If so, are they applied system-wide if used
in /etc/procmailrc as opposed to only the one user if in ~/.procmailrc?

Yep.  To quote the third paragraph of the procmail(1) manpage:

       If no rcfiles and no -p have been specified on the command
       line,  procmail  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).


Philip Guenther

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