home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / ultrix / 9216 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.6 KB  |  75 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!spool.mu.edu!torn!blaze.trentu.ca!trentu.ca!ccksb
  3. From: ccksb@trentu.ca (Ken Brown)
  4. Subject: Re: sendmail doesn't know local users when NIS is running
  5. Message-ID: <1993Jan8.173744.8958@trentu.ca>
  6. Lines: 62
  7. Sender: news@trentu.ca (USENET News System)
  8. Reply-To: ccksb@trentu.ca (Ken Brown)
  9. Organization: Trent University
  10. References:  <1993Jan8.030214.16074@massey.ac.nz>
  11. Date: Fri, 8 Jan 1993 17:37:44 GMT
  12.  
  13.  
  14. In article <1993Jan8.030214.16074@massey.ac.nz>, K.Spagnolo@massey.ac.nz
  15. (Ken Spagnolo) writes:
  16. >
  17. >A user here wants to receive mail on a 4.2 machine that knows her
  18. >usercode
  19. >only thru NIS; it does not appear in the passwd file.  sendmail seems
  20. >not to
  21. >consult NIS, and bounces mail with `user unknown'.  Anyone know what to
  22. >poke
  23. >to fix this?
  24. >
  25. >Please send responses to V.Spagnolo@massey.ac.nz.
  26. >
  27. >Thanx very much,
  28. >
  29. >-- 
  30. >Ken Spagnolo - Ph: +64-6-350-5160
  31. >Systems Programmer, Network Support, Usenet Admin, etc.
  32. >
  33.  
  34. We had a similar problem and were helped by rickert@cs.niu.edu.  Our
  35. ultrix machine is blaze and we use yp.  We want mail to go to our hub
  36. IVORY if username not found in blaze /etc/passwd or the yp map.
  37.  
  38. We created a class (see FN entry below);
  39.  
  40. ###############
  41. #   Classes   #
  42. ###############
  43.  
  44. # Internal ("fake") domains that we use in rewriting
  45. CIUUCP BITNET CSNET dnet
  46.  
  47. # try to distiguish between blaze/non-blaze users
  48. # by defining a class "N" as local blaze users
  49. FN/etc/passwd %[^:]
  50.  
  51. And we made some changes as recommended by rickert@cs.niu.edu to deal
  52. with central sit resolving;
  53.    
  54. # remaining names must be local
  55. # next line commented out KSB/KBA May 4/92
  56. # re: rickert@cs.niu.edu recommendation for central site resolving
  57. # appears to send everything to IVORY
  58.  
  59. #R$+                    $#local$:$1                     everything else
  60.  
  61. # and..these 6 lines added
  62. R${$*                   $#local$:$1     in YP or Hesiod passwd map,assume local
  63. R$"$*                   $#local$:$1     ditto for aliases map
  64. R$=N                    $#local $:$1                    Class N is local
  65. R$*/$*                  $#local $:$1/$2                 Files must be local
  66. R|$+                    $#local $:|$1                   Programs must be local
  67. R$+                     $#tcp $@ivory $:$1              Other locals to IVORY
  68.  
  69. Now, I'm no sendmail expert by any means...but maybe this will assist you.
  70.                                                                         
  71. --
  72. Ken Brown                                   internet: kbrown@trentu.ca
  73. Trent University Computing & Telecommunications  tel: (705)748-1540
  74. Peterborough, Ontario, Canada, K9J 7B8           fax: (705)748-1246 
  75.