Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 23:22:22 -0400 (EDT)
From:      Claude Cote <ccote@gandalf.ec.camitel.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Problems with mail-aliasing using NIS
Message-ID:  <199609290322.XAA06124@gandalf.ec.camitel.com>

next in thread | raw e-mail | index | archive | help

Hi,

I have some problems with mail-aliasing using NIS. Here's the setup:

    - All the machines on the network shared the same /var/mail via NFS
      (but the mail is processed locally);
    - The NIS master holds the real (complete) /etc/aliases file;
    - I have commented out the keyword "aliases" in /var/yp/Makefile
      so the map mail.aliases get created when I type 'make' in /var/yp;
    - On the client side, I changed the following line in /etc/sendmail.cf:

            # location of alias file
            O AliasFile=/etc/aliases,nis:mail.aliases

      and run newaliases;
    - I rebooted everyone to be sure...

Now, if I add the alias "toto" and do a "mail toto" on the server,
it's ok. But if I do a "mail toto" on the client I got the following
message:

      toto... User unknown

Here's the output of "ypcat mail.aliases":

      # ypcat mail.aliases
      root
      @
      root
      root
      root
      postmaster
      root
      root
      root
      root
      root
      root
      ccote

is it ok?

BTW, the NIS master server is running -current of last Monday (23 sep)
and the clients are running 2.2-960801-SNAP. All the others NIS databases
(passwd, group, hosts, ...) are working just fine.

I have checked all the manpages, FAQ and handbook (the NIS section is
empty) without success :-(

Anybody have a clue?

Thanks,

Claude Cote (ccote@ec.camitel.com)



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