[4014] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Mail aliases with NYS/libc-5.2.18

daemon@ATHENA.MIT.EDU (Swen Thuemmler)
Tue Nov 12 05:13:34 1996

Date: Tue, 12 Nov 1996 11:08:42 +0100 (MET)
From: Swen Thuemmler <swen@uni-paderborn.de>
To: redhat-list@redhat.com
cc: Elliot Lee <sopwith@cuc.edu>
In-Reply-To: <Pine.SUN.3.91.960318181018.27777A-100000@sol.cs.cuc.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Mon, 18 Mar 1996, Elliot Lee wrote:

> The NIS support works a lot better - ypcat, for instance, now performs as 
> expected. I'm having trouble with the aliases map, however. I can
> 'ypcat -k aliases' without problem, but when I try to
> 'ypmatch -k staff aliases', for example, it says that it can't find the 
> key in the map. And yes, I'm sure that there is a staff alias; ypcat 
> shows it just fine.

Try ypmatch -k staff: aliases, this should work (the mail.aliases key
includes the colon).

> It's not just ypmatch, either, it's sendmail - and without sendmail 
> matching aliases, we can't start using it as a mail server. Therefore any 
> suggestions and comments will be most appreciated.

This depends on the version of sendmail and how it was compiled. You may
need
O ServiceSwitchFile=/etc/nsswitch.conf
or
OAnis:mail.aliases@my.nis.domain
in /etc/sendmail.cf. 

Hope this helps.

--Swen



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post