SUMMARY: NIS problems with mail.byaddr

From: Rune Mossige (sttsrm@norway.waii.com)
Date: Mon Feb 26 1996 - 04:03:05 CST


Hello,
My problem with the NIS 'mail.byaddr' was solved by editing the
/var/yp/Makefile as described by
Gordon Rowell <Gordon.Rowell@nms.otc.com.au> and
Peter.Samuel@uniq.com.au

I also received a lenghty SonSolve (?) from
John Baldwin <baldwinj@mailbox.ne.tpd.eds.com>
that gave quite good overview of NIS related issues.

I include Gordon Rowell's reply, as that one actually solved my
problem.

>From Gordon.Rowell@nms.otc.com.auMon Feb 26 10:54:05 1996
Date: Mon, 26 Feb 1996 09:27:42 +1100 (AEST)
From: Gordon Rowell <Gordon.Rowell@nms.otc.com.au>
To: Rune Mossige <sttsrm@norway.waii.com>
Cc: Peter.Samuel@uniq.com.au
Subject: Re: NIS problems with mail.byaddr

> Hello,
>
> I have a problem with the 'mail.byaddr' NIS map. All the other 39 NIS
> maps are OK, including mail.aliases.
>
> When the 'mail.byaddr' is built on the NIS master server (a Sparc
> Classic running SunOS 4.1.3, very few patches installed), I get the
> following output:

The mail.byaddr map does get the FQDN of the master entered into the map
name.

Here's what we do - Thanks Peter (Peter.Samuel@uniq.com.au) for the fix.

# This section has been modified to manually insert the fully
# qualified domain name for NIS master - Peter Samuel 23 July 1993
# NOTE: you MUST remove mail.byaddr.xxx.{dir,pag} to avoid progagating
# it to the NIS slaves.
 
aliases.time: $(ALIASES) $(DIR)/aliases.tms
        @cat $(ALIASES) $(DIR)/aliases.tms > $(YPDBDIR)/$(DOM)/mail.aliases;
        @/usr/lib/sendmail -bi -oA$(YPDBDIR)/$(DOM)/mail.aliases;
        @$(MKALIAS) $(YPDBDIR)/$(DOM)/mail.aliases
$(YPDBDIR)/$(DOM)/mail.byaddr
.xxx;
 
        @$(MAKEDBM) -u $(YPDBDIR)/$(DOM)/mail.byaddr.xxx | \
         $(MAKEDBM) - $(YPDBDIR)/$(DOM)/mail.byaddr;
        @rm -f $(YPDBDIR)/$(DOM)/mail.byaddr.xxx.dir
        @rm -f $(YPDBDIR)/$(DOM)/mail.byaddr.xxx.pag
 
        @rm $(YPDBDIR)/$(DOM)/mail.aliases;
        @touch aliases.time;
        @echo "updated aliases";
        @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) mail.aliases; fi
        @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOM) mail.byaddr; fi
        @if [ ! $(NOPUSH) ]; then echo "pushed aliases"; fi
 
Gordon

--
  Gordon Rowell                         Email:  Gordon.Rowell@nms.otc.com.au
  Telstra IBU Information Systems       Phone:  +61 (02) 339 3678
  4/363 Oxford St			Fax:    +61 (02) 339 3979
  Paddington NSW 2001 Australia         Mobile: +61 (015) 289 267

-------------------------------------------------------------------- Rune Mossige, Systems Support Tel : +47 51 59 89 22 Western Geophysical, Stavanger, Norway Fax : +47 51 59 89 99 Rune.Mossige@norway.waii.com Priv: +47 51 42 47 71



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:54 CDT