home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 5018 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.8 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!emory!ogicse!plains!news.u.washington.edu!milton.u.washington.edu!beaker
  2. From: beaker@milton.u.washington.edu (Clint Olsen)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Found solution to sendmail problem
  5. Message-ID: <1992Jul27.233916.16747@u.washington.edu>
  6. Date: 27 Jul 92 23:39:16 GMT
  7. Sender: news@u.washington.edu (USENET News System)
  8. Organization: University of Washington, Seattle
  9. Lines: 43
  10.  
  11. Hello:
  12.  
  13. Thank you for all of your responses.  I now have about 7
  14. different sendmail.cf files to use, but I've managed to get
  15. my Suns to work with the original config file.  Here's a
  16. summary of what I found out:
  17.  
  18. If you have the support, I'd suggest that you use another
  19. sendmail.cf file because Sun's is apparently junk.  At least
  20. that's what a lot of you told me.  I agree.
  21.  
  22. Anyway, to use a sendmail.cf (/usr/lib/sendmail.subsidiary.cf)
  23. you copy it to sendmail.cf in /etc.  I did do that right.
  24.  
  25. If your NIS domain is DIFFERENT from you DNS domain, you must
  26. do the following:
  27.  
  28. Define a macro and a class like this:
  29.  
  30. Dmyourdnsdomain
  31. Cmyourdnsdomain
  32.  
  33. This is documented in the sendmail.cf file near the top.  This will
  34. keep your address straight from your NIS domain.  I don't know why
  35. you'd expect them to be the same, because everyone always tells me
  36. NIS and DNS have NOTHING IN COMMON!  It would make sense to me to make
  37. a distinguishment between the two by naming them differently.
  38.  
  39. If you are using sendmail.mx (which you should, esp. if you want to
  40. be able to mail sites that are MX records in your main mail machine),
  41. then you need to edit one line of your file:
  42.  
  43. Find the line that has "Your official hostname."
  44. It will say:
  45.  
  46. Dj$w.$m
  47.  
  48. Remove the ".$m" and it should read "Dj$w".
  49.  
  50. That will keep you fully qualified hostname from repeating all of
  51. the trailing stuff twice.
  52.  
  53. -Clint
  54.