procmail
[Top] [All Lists]

Re: Privileges trouble

2001-03-02 23:18:05
"Radek Michalski" <radek(_dot_)michalski(_at_)interia(_dot_)pl> writes:
Well, i'm using procmail on my computer. After deep troubles with sendmail,
i've decided to upgrade procmail too (onto newest version). But, since that
day, i've got a lot of trouble with local mail delivery.
So, mayby i'll try to describe my problem:

every user have got in his $HOME directory .procmailrc file, witch looks
like that:
-----------------------------------------------
PATH=$HOME/bin:/usr/bin:/usr/sbin:/bin:/sbin:.
MAILDIR=/var/spool/mail
DEFAULT=$MAILDIR/`whoami`
-----------------------------------------------

Step 1) Examine the procmailrc(5) manpage
Step 2) Notice that the default values for DEFAULT/ORGMAIL and PATH
        are effectively equivalent to the above
Step 3) Remove all three of the assignments (presumably leaving an
        empty rcfile which can be removed)
Step 4) Watch procmail "just work"


Note that procmail does *not* set the USER variable: it sets the POSIX
standardized LOGNAME variable.  Also, daemons like procmail should *never*
include "." in the PATH they use; all it does is open the possibility
of security holes.


Philip Guenther
_______________________________________________
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>
  • Re: Privileges trouble, Philip Guenther <=