home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!spool.mu.edu!torn!blaze.trentu.ca!trentu.ca!ccksb
- From: ccksb@trentu.ca (Ken Brown)
- Subject: Re: sendmail doesn't know local users when NIS is running
- Message-ID: <1993Jan8.173744.8958@trentu.ca>
- Lines: 62
- Sender: news@trentu.ca (USENET News System)
- Reply-To: ccksb@trentu.ca (Ken Brown)
- Organization: Trent University
- References: <1993Jan8.030214.16074@massey.ac.nz>
- Date: Fri, 8 Jan 1993 17:37:44 GMT
-
-
- In article <1993Jan8.030214.16074@massey.ac.nz>, K.Spagnolo@massey.ac.nz
- (Ken Spagnolo) writes:
- >
- >A user here wants to receive mail on a 4.2 machine that knows her
- >usercode
- >only thru NIS; it does not appear in the passwd file. sendmail seems
- >not to
- >consult NIS, and bounces mail with `user unknown'. Anyone know what to
- >poke
- >to fix this?
- >
- >Please send responses to V.Spagnolo@massey.ac.nz.
- >
- >Thanx very much,
- >
- >--
- >Ken Spagnolo - Ph: +64-6-350-5160
- >Systems Programmer, Network Support, Usenet Admin, etc.
- >
-
- We had a similar problem and were helped by rickert@cs.niu.edu. Our
- ultrix machine is blaze and we use yp. We want mail to go to our hub
- IVORY if username not found in blaze /etc/passwd or the yp map.
-
- We created a class (see FN entry below);
-
- ###############
- # Classes #
- ###############
-
- # Internal ("fake") domains that we use in rewriting
- CIUUCP BITNET CSNET dnet
-
- # try to distiguish between blaze/non-blaze users
- # by defining a class "N" as local blaze users
- FN/etc/passwd %[^:]
-
- And we made some changes as recommended by rickert@cs.niu.edu to deal
- with central sit resolving;
-
- # remaining names must be local
- # next line commented out KSB/KBA May 4/92
- # re: rickert@cs.niu.edu recommendation for central site resolving
- # appears to send everything to IVORY
-
- #R$+ $#local$:$1 everything else
-
- # and..these 6 lines added
- R${$* $#local$:$1 in YP or Hesiod passwd map,assume local
- R$"$* $#local$:$1 ditto for aliases map
- R$=N $#local $:$1 Class N is local
- R$*/$* $#local $:$1/$2 Files must be local
- R|$+ $#local $:|$1 Programs must be local
- R$+ $#tcp $@ivory $:$1 Other locals to IVORY
-
- Now, I'm no sendmail expert by any means...but maybe this will assist you.
-
- --
- Ken Brown internet: kbrown@trentu.ca
- Trent University Computing & Telecommunications tel: (705)748-1540
- Peterborough, Ontario, Canada, K9J 7B8 fax: (705)748-1246
-