Eric Delaet <eridel(_at_)kava(_dot_)be> writes:
I'm using procmail in combination with sendmail.
IMHO, procmail sets the permissions of the file /var/spool/mail/username.
The permissions of those filenames are 600, owned by username.
I would like procmail to set this to 660 and one specific group (ie.
mail), so that every mail file is readable and writeable by the mail
group.
Where, and on what base does procmail decide what permissions the
/var/spool/mail/username should have? I noticed some differences between
different distributions, ie. on a RedHat dist I already found some 660
permissions ...
Procmail only leaves the permissions as 660 if it thinks it has to.
In particular, either procmail can't be running as the owner of the spool
directory and the spool directory has its setgid bit set, or the spool
directory is not world writable. Furthermore, procmail must be setgid
to the group of the spool directory.
I _think_ that's sufficient. Why do you want to do this?
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail