procmail
[Top] [All Lists]

Re: Running user procmailrc

2004-03-23 05:20:34
On Tue, Mar 23, 2004 at 11:02:53PM +1200, Roland Hill wrote:
# Drop to user .procmailrc if user criteria matched
:0
* <some user unique criteria>
{
       DROPPRIVS=yes
       SWITCHRC=$HOME/.procmailrc
}

Yes, but I believe this in the /etc/procmailrc file will accomplish
the above as well:


   :0
   * something here
   { SWITCHRC }

Not tested, but I'd be shocked if that didn't do it; and
I'm certain privs are dropped when we leave the file that
had elevated privs.

-- 
dman

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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