procmail
[Top] [All Lists]

RE: Neomail reports writing permissions problem

2002-03-31 11:27:51
My /var/spool/mail directory have permissions 775 and it is owned by the
root and the group mail
I just do chmod g+s /usr/bin/procmail and ...

IT WORKS !!!

Thank you very much !!!


----- Original Message -----
From: Philip Guenther <guenther(_at_)gac(_dot_)edu>
To: José Ignacio Realpe Ibáñez 
<jnacho(_at_)col2(_dot_)telecom(_dot_)com(_dot_)co>
Cc: <procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>
Sent: Saturday, March 30, 2002 8:15 PM
Subject: Re: Neomail reports writing permissions problem


=?ISO-8859-1?B?Sm9z6SBJZ25hY2lvIFJlYWxwZSBJYuHxZXo=?=
<jnacho(_at_)col2(_dot_)telecom(_dot_)com(_dot_)
co> writes:
Neomail requiere that the mailbox of the users have permissions 660
Procmail always set permissions 600 to all mailboxes in /var/spool/mail
I need procmail set permissions 660 to all mailboxes in /var/spool/mail/
I don't want to set UMASK=007 in the .procmailrc in each user home

That wouldn't work anyway, as the permissions on new mailboxes are set
when they're 'screened' before procmail opens any rcfiles.

Procmail will only use a umask of 007 when creating mail spools if
1) the spool directory is *not* owned by the user that procmail is
   started as or setuid to (i.e., not owned by root), and
2) procmail _is_ setuid to the group of the spool directory, and
3) either the setgid bit is set on the spool directory or the spool is
   not world writable.


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>