On Thu, 11 Sep 1997, Ed McGuire wrote:
Subject: permissions
- Die Rechte der Mailbox (angemounteten Partition)
aendert sich von
-rw-rw---- 1 hlehmann mail 1127 Sep 11 07:33 hlehmann
auf
-rw------- 1 hlehmann mail 1517 Sep 11 07:34 hlehmann
It seems that, when the UMASK environment variable is more restrictive
than the mode of the mailbox, procmail changes the mode of the
mailbox.
The default value of UMASK is 077. If you want to preserve the group
access to your mailbox, I think you can set UMASK to 007 in the
rcfile:
UMASK=007
Regards, Ed
Hmm.
Probe:
leila:~$ cat /etc/procmailrc
VERBOSE=on
UMASK=007
leila:~$ sendmail -v hlehmann
test
.
hlehmann... Connecting to local...
procmail: Enforcing stricter permissions on "/var/spool/mail/hlehmann"
procmail: [22743] Thu Sep 11 17:03:15 1997
procmail: Assigning "UMASK=007"
procmail: Locking "/var/spool/mail/hlehmann.lock"
procmail: [22743] Thu Sep 11 17:03:16 1997
procmail: Assigning "LASTFOLDER=/var/spool/mail/hlehmann"
procmail: Opening "/var/spool/mail/hlehmann"
procmail: Acquiring kernel-lock
procmail: [22743] Thu Sep 11 17:03:17 1997
procmail: Unlocking "/var/spool/mail/hlehmann.lock"
From testuser(_at_)leila(_dot_)fh-lausitz(_dot_)de Thu Sep 11 17:03:11 1997
Folder: /var/spool/mail/hlehmann
363
procmail: Notified comsat: "hlehmann(_at_)1891:/var/spool/mail/hlehmann"
hlehmann... Sent
leila:~$ ll /var/spool/mail/hlehmann
-rw------- 1 hlehmann mail 2254 Sep 11 17:00
/var/spool/mail/hlehmann
leila:~$ procmail -v|g written
procmail v3.10 1994/10/31 written and created by Stephen R. van den Berg
leila:~$ umask
022
leila:~$
--
bye HL