Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 1998 09:55:59 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        henrich@crh.cl.msu.edu, questions@FreeBSD.ORG
Subject:   Re: NIS and sendmail aliases?
Message-ID:  <199810201655.JAA29048@pau-amma.whistle.com>
In-Reply-To: <19981019001420.39648@orbit.flnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Mon, 19 Oct 1998 00:14:20 -0700
>From: Charles Henrich <henrich@crh.cl.msu.edu>

>Im having a real hard time getting FreeBSD to see my NIS aliases map, I've
>added +:+ to /etc/aliases, rebuilt it with newaliases, and added nis to
>/etc/host.conf.

I confess that I'm puzzled by a desire to use NIS for this purpose.

Do you really have several (well, more than one) host that needs to know
how the aliases expand?  (As opposed to sending all the mail to a
central mailhost that handles the expansion, then sends things out as
appropriate, for example.)

I also confess that I tend to avoid using NIS... unless I have a
situation where what is does seems to make sense.  For example, one of
the things I migrated *to* NIS when I came here was the amd maps; that
is something where it can clearly be useful for lots of machines to have
a reasonably consistent view of things.  But email aliases are things
that I prefer to have handled on a designated mailserver.

>ypcat -k aliases displays the map nicely.  Sendmail just refuses to
>acknowledge it.. Any assistance would be most appreciated!  Thanks!

Well, you'll probably need to check the compilation options for
sendmail, to see how DBMDEF is defined.  If you really want to use NIS
for aliases, "DBMDEF" needs to include "-DNIS", I believe.

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810201655.JAA29048>