Toen ik Bart Schaefer kietelde, kwam er dit uit:
Dropping privileges is definitely good advice, but isn't there a danger
here that $HOME/.procmailrc is going to be executed twice? SWITCHRC
will cause procmail to read the new file "as if" it were still reading
the /etc/procmailrc, and then when it finishes it'll continue with the
normal execution of the user's .procmailrc. Ooops.
Yes. At the other end, what if you want to skip the user's
.procmailrc (because you detected an unwelcome message),
is setting DELIVERED=yes sufficient?
(Bart already privately replied that he doesn't think it is.)
So, is there a way for /etc/procmailrc to keep messages from
reaching the user's .procmailrc? Of course it is possible to
transform the message (still in /etc/procmailrc) into a text
message that explains what has happened to it.
procmail mailing list