home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22840 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!das-news.harvard.edu!spdcc!jti.com!richb
  2. From: richb@jti.com (Richard Braun)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: something screwy with mail...
  5. Message-ID: <C0EDy3.6sA@jti.com>
  6. Date: 5 Jan 93 20:22:46 GMT
  7. Article-I.D.: jti.C0EDy3.6sA
  8. References: <1992Dec31.081635.28249@r-node.gts.org> <1993Jan2.200850.7799@unislc.uucp> <C098zI.GDu@ccu.umanitoba.ca>
  9. Sender: news@jti.com (News Admin)
  10. Organization: Jupiter Technology Inc. / Waltham, MA
  11. Lines: 18
  12. Nntp-Posting-Host: bart.jti.com
  13.  
  14. Over the weekend I hacked my copy of mail (the one included with
  15. mailpak-1.3) so it runs setuid root instead of setgid mail.  That
  16. way the mail files can be protected 600.  As soon as mail starts up,
  17. it sets its effective user ID back to that of the user running it,
  18. and I put calls to request root UID only in places where it writes
  19. the actual mail files.  Hopefully it's secure; with this hack, it
  20. now works the same as the mailers I'm used to on other systems.  If
  21. people want my (rather minimal) mods I'll upload them to an archive
  22. site or send them to the mailpak maintainer.
  23.  
  24. I have another screwy problem, though.  With elm 2.4pl17 and with
  25. this version of mail, I get two near-duplicate "To:" headers in
  26. outbound mail.  Apparently elm is creating a To header, and then
  27. mail is adding a second one.
  28.  
  29. Why might that happen?
  30.  
  31. -rich
  32.