home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!das-news.harvard.edu!spdcc!jti.com!richb
- From: richb@jti.com (Richard Braun)
- Newsgroups: comp.os.linux
- Subject: Re: something screwy with mail...
- Message-ID: <C0EDy3.6sA@jti.com>
- Date: 5 Jan 93 20:22:46 GMT
- Article-I.D.: jti.C0EDy3.6sA
- References: <1992Dec31.081635.28249@r-node.gts.org> <1993Jan2.200850.7799@unislc.uucp> <C098zI.GDu@ccu.umanitoba.ca>
- Sender: news@jti.com (News Admin)
- Organization: Jupiter Technology Inc. / Waltham, MA
- Lines: 18
- Nntp-Posting-Host: bart.jti.com
-
- 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
-