From: Richard Braun (richb@jti.com)
Date: 01/05/93


From: richb@jti.com (Richard Braun)
Subject: Re: known problem with email...buy why?
Date: Tue, 5 Jan 1993 20:40:35 GMT

Problem: mail file ownership isn't right

Solution: set mail files to correct owner, mode 600, group mail

Implementation: Using the source code from mailpak-1.3, modify mail
        so it contains a seteuid call just after startup. This call
        should switch from root to that of the person running it.
        Then in the send.c module, switch back to root when writing
        the /usr/spool/mail file. After writing the file, chown,
        chgrp, and chmod it. There are two places you have to do this.

Installation: chown root /bin/mail
               chmod u+s /bin/mail

This is how the mailers I've seen on SysV, AIX and SCO systems work.
If there's any demand for my mods, as suggested in another posting I
will make them available to the mailpak maintainer.

-rich