"=?ISO-8859-1?Q?Gjermund S=8F8rseth?=" <gjermund(_at_)nextel(_dot_)no> writes:
> Is there anyway to tell procmail to look somewhere other than
> a users home directory for .procmailrc? With sendmail you can
> tell it the .forward file exists for example in
> /usr/local/users/username.forward.
One way could be to put the following in config.h before compiling:
#define PROCMAILRC "/no/such/file"
And then the following in /etc/procmailrc:
DROPPRIVS = yes
INCLUDERC = $HOME/bla-bla-procmailrc # or some other directory
...except that procmail won't check the permissions on
$HOME/bla-bla-procmailrc as strictly as it does the one specified with
the PROCMAILRC #define. If you need to move everyone's .procmailrc,
hacking the source is the safest way.
Philip Guenther