If procmail is implemented system-wide where every user's .forward file
is owned by root and contains the line:
^^^^^^^^^^^^^
"|/usr/local/bin/procmail"
Do they each *have* to have their own .procmailrc?
Or can they all just be configured using /etc/procmailrc?
For example, it would of course be much easier to implement /etc/procmailrc
as (among other things):
:0
* ? test -f $HOME/.forwardrc
{ INCLUDERC=$HOME/.forwardrc }
:0
* ? test -f $HOME/.vacationrc
{ INCLUDERC=$HOME/.vacationrc }
So I experimented with it and it didn't work. Can anyone help?
Dave
--
p.s. my complete /etc/procmailrc which didn't log to $HOME/.procmail.log
^^^^^^
LOGFILE=$HOME/.procmail.log
VERBOSE=on
:0
* ? test -f $HOME/.forwardrc
{ INCLUDERC=$HOME/.forwardrc }
:0
* ? test -f $HOME/.vacationrc
{ INCLUDERC=$HOME/.vacationrc }
:0
* ^Subject:(\<)*(show diskquota|show quota|quota -v)$
{
# Make sure we're running as the user
DROPPRIVS = yes
# replace the body of the message with the quota info
:0 bfiw
| quota -v
# Optional: give up on the /etc/procmailrc now. Only
# works with 3.14 and later, and maybe only 3.15.1, I
# can't remember. Uncomment if desired.
#SWITCHRC = /dev/null
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail