Harry Palmer <hpalmer(_at_)ns1(_dot_)jerky(_dot_)net> writes:
The default behavior for procmail is to enforce strict permissions
(00660 I believe) on mail spool files. Due to a unique situation on my
mail server I require the files to be 00666. In misc.c I foudn the
following code:
Can we ask why you would want to do that? Do you trust everyone who
can run processes on that machine?
...
This seems to accomplish what I was looking for. Does anyone know if
this will break any other functions of procmail? Or is there a better
way to accomplish this?
If any of the following mode bits are set on a mailspool, procmail will
not change the permission on it:
user execute
sticky
So, pre-creating the mailboxes with permissions 766 or 1666 should
work.
Philip Guenther