Re: Limit user actions in .procmailrc
[email protected] Tue, 19 May 2015 17:39:09 -0500 (CDT)
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <alpine.LNX.2.00.1505191727370.3777@asimov> |
Based on the discussion at http://serverfault.com/questions/579192/procmail-is-ignoring-user-settings I get the impression that when using procmail as your LDA (which I should have said I am) setting DROPPRIVS=no prevents any reading of a user .procmailrc. Which I think is the opposite of what you're saying, but it's the end of the day, so my brain may be playing tricks on me. That said, I'm not finding anything authoritative to back that up (nor have I tested it, since I don't have a good test system to try it on). On Tue, 19 May 2015, Alan Clifford wrote: > [email protected] wrote to [email protected] > [at 16:17 (-0500) on Tuesday, 19th May, 2015]: > >> Another idea that occurred to me would be to prevent .procmailrc >> execution by setting DROPPRIVS equal to "no" in the system >> /etc/procmailrc unless the LOGNAME value appears in a file that listed >> allowed users? > > Wouldn't you set DROPPRIVS to yes then deliver mail from within > /etc/procmailrc? Then ~/.procmailrc wouldn't be run at all. > > > Alan > > ( Please address personal email to alan+1@ as email to lists@ > is only read from my subscribed lists. ) > -- Public key #7BBC68D9 at | Shane Williams http://pgp.mit.edu/ | System Admin - UT CompSci =----------------------------------+------------------------------- All syllogisms contain three lines | [email protected] Therefore this is not a syllogism | www.ischool.utexas.edu/~shanew