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


From: richb@jti.com (Richard Braun)
Subject: Re: something screwy with mail...
Date: Tue, 5 Jan 1993 20:22:46 GMT

Over the weekend I hacked my copy of mail (the one included with
mailpak-1.3) so it runs setuid root instead of setgid mail. That
way the mail files can be protected 600. As soon as mail starts up,
it sets its effective user ID back to that of the user running it,
and I put calls to request root UID only in places where it writes
the actual mail files. Hopefully it's secure; with this hack, it
now works the same as the mailers I'm used to on other systems. If
people want my (rather minimal) mods I'll upload them to an archive
site or send them to the mailpak maintainer.

I have another screwy problem, though. With elm 2.4pl17 and with
this version of mail, I get two near-duplicate "To:" headers in
outbound mail. Apparently elm is creating a To header, and then
mail is adding a second one.

Why might that happen?

-rich