SUMMARY: ownership changes on incoming mailboxes

From: S. Cowles (scowles@toolik.stanford.edu)
Date: Tue Oct 05 1993 - 08:19:36 CDT


ORIGINAL QUERY:

>Configuration:
> Sparc 10/41
> Solaris 2.1
>When mail arrives in a few mailboxes, not all, the group ownership of
>the mailbox changes from mail to the group of the mailbox owner. Since
>permissions are 660, this allows anyone in the owner's group to read
>his mail--not always a good idea.

Thanks to:
From: kevin@uniq.com.au (Kevin Sheehan {Consulting Poster Child})
From: "LDC - Luis E. Mun~oz" <lem@usb.ve>
From: kmah@DCS-Systems.COM (Kevin Mah)
From: daver!sun!genisco.gtc.com!dav@relay2.UU.NET (David L. Markowitz)

Correct answer is a combo of two bits:
        There's a line in the sendmail.cf file that probably reads
        OF0640
        I would suggest you to change this to
        OF0600
        This line controls the mode of the mailbox files...
and
        At least under Solaris 1, the mail directory should be:
        drwxrwsrwt 3 root daemon 1024 Oct 4 09:42 /spool/mail

Steps I took:
1) chmod 600 /var/mail/* (sendmail.cf was already correct)
2) chmod g+s /var/mail/. (since my /var/mail is a symlink)

S. Cowles
voice: +1 415 812 1917
fax: +1 415 812 1916
internet: scowles@toolik.stanford.edu
internet: scowles@llnl.gov
uucp: {backbone}!lll-winken!humpty!scowles



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:20 CDT