home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / mail / sendmail / 3000 < prev    next >
Encoding:
Text File  |  1992-12-15  |  3.1 KB  |  73 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!news.umbc.edu!umbc4.umbc.edu!paulr
  3. From: paulr@umbc4.umbc.edu (Paul Riddle)
  4. Subject: Re: SGI and their sendmail !
  5. Message-ID: <1992Dec15.162543.6711@umbc3.umbc.edu>
  6. Sender: newspost@umbc3.umbc.edu (News posting account)
  7. Organization: Univ. of MD, Baltimore County
  8. References: <freyder.724397542@marley>
  9. Distribution: na
  10. Date: Tue, 15 Dec 1992 16:25:43 GMT
  11. Lines: 60
  12.  
  13. In article <freyder.724397542@marley> freyder@was.waii.com (Rob Freyder) writes:
  14. >Hi,
  15. >
  16. >Sigh.  I just noticed something peculiar about SGI's sendmail.  It doesnt
  17. >like delivering mail to NFS mounted mailboxes.
  18. >
  19. >Our mailhost is a Sun running IDA sendmail.  (Yeah !)  Our sgi boxes mount
  20. >their mail directory from the Sun.  If the Sun does the delivery all is well.
  21. >If the Sgi does local delivery to this NFS mounted directory strange things
  22. >happen.  Like the owner of the file gets changed to the owner ID listed in
  23. >the sendmail.cf file !  The sgis dont necessarily run NIS so I guess the
  24. >potential for Userid mismatch is there.  I checked and the IDs are the same
  25. >on both machines.  Afterall reading/deleting of the mail works fine.
  26. >I dont understand it must they change the owner ?!!!
  27.  
  28. I have a similar setup here, with the mailhost being a Sun running
  29. IDA and a bunch of SGIs and DECs running as mail slaves.  The problem
  30. is that the SGI expects different permissions in the mail spool than
  31. the Sun.  Specifically, on the Sun, the directory is mode 1777 and the
  32. mailboxes are created 600.  The SGI uses a "mail" group and sets group
  33. write permissions on the spool directory and mailboxes.
  34.  
  35. If you fix things so that everything including local mail is sent to
  36. the mailhost, it will fix your delivery problems.  But there is one
  37. other gotcha: When the SGI starts up mail, it tries to "fix" the
  38. permissions in the spool directory to conform to what it thinks they
  39. should be.  So, on your SGIs that are mounting the mail spool, you
  40. need to comment out a few lines in /etc/init.d/mail so that it doesn't
  41. try to do anything to /usr/mail.
  42.  
  43. I did this and things have been running smoothly for several months
  44. now.
  45.  
  46. >I am in the process of building IDA for these boxes but it just bothers me
  47. >that this doesnt work.  
  48. >
  49. >I would like ALL mail from the SGI to go to the Sun for delivery.
  50. >EVEN local mail.  This would solve the problem.  We use hiding so addresses
  51. >get rewritten as user@domain.  This works great on the suns/RS6000s
  52.  
  53. If you're running Irix 4.0.5, you already have IDA sendmail.  All you
  54. should have to do is build a cf file from Sendmail.mc in the IDA
  55. distribution, and define MAILHOST in your M4 file.  If you'd rather
  56. hack on SGI's sendmail.cf, you can replace calls to the "local" mailer
  57. with appropriate calls to the "ether" mailer.  For example,
  58.  
  59. R@        $#local$:$n
  60.  
  61. becomes
  62.  
  63. R@        $#ether$@$F$:$n
  64.  
  65. Where the F macro is the name of your mail server.
  66.  
  67.         Paul
  68. -- 
  69. If found, please return to:         |
  70. Paul Riddle                         | paulr@umbc3.umbc.edu
  71. UMBC, Academic Computing Services   |
  72. Baltimore, MD 21228                 | (410) 455-3860
  73.