procmail
[Top] [All Lists]

Re: Permissions for procmail

1998-03-01 16:02:58
I was wondering if there was a way to make the permissions on the
mail file to be 0600.   It seems that procmail by default sets the
value of group ownership to mail and permissions to 0660.  I would
like to change this if possible.

Take a look at the UMASK variable setting in procmailrc(5):

       UMASK       The name says it all (if it doesn't, then for-
                   get  about this one :-).  Anything assigned to
                   UMASK is taken as an  octal  number.   If  not
                   specified,  the umask defaults to 077.  If the
                   umask permits o+x, all the mailboxes  procmail
                   delivers  to directly will receive an o+x mode
                   change.  This can be used to check if new mail
                   arrived.

Chris

<Prev in Thread] Current Thread [Next in Thread>