Hi,

I'm using Postfix 2.9.3 on a RedHat machine.

I'm trying to make Postfix mail files, from the spool/deferred dir,
readable by postfix group users.

By default they are readable only by the postfix user, 0700.

For instance:

ls -la /opt/postfix/spool/deferred/5/5C8EA46029F
-rwx------ 1 postfix postfix 3203 Jun  9  2012
/opt/postfix/spool/deferred/5/5C8EA46029F

But I need it to be:

-rwxrw---- 1 postfix postfix 3203 Jun  9  2012
/opt/postfix/spool/deferred/5/5C8EA46029F
The deferred folder has the the right file permissions:

I tried changing postfix's source code such that it would make group
permissions read/write.
But I always get group read permission flagged out.

I changed the following files:

 mail_steram.c (fchmod from 0700 to 0770)
 postdrop.c (mod from 0444 to 0464)


May be some can give me a hint on why the group read permission is
always flagged out ?

Many thanks!

Reply via email to