Date: Sun, 29 Sep 1996 20:48:46 -0400 (EDT) From: Claude Cote <ccote@gandalf.ec.camitel.com> To: wpaul@skynet.ctr.columbia.edu Cc: current@freebsd.org Subject: Problems with mail-aliasing using NIS - Solved Message-ID: <199609300048.UAA01381@gandalf.ec.camitel.com>
next in thread | raw e-mail | index | archive | help
Hello Bill, Thanks for your hints! I've finally found the problem: it was sendmail. > Also, did you check that you enable NIS access to the mail.aliases > map in the client's /etc/sendmail.cf file? Did you restart sendmail > on the client machines as well as the server after you added NIS > support to the config file? Can you confirm that sendmail on the client > was really built with NIS map support? If you copy the sendmail binary > from the server onto the clients, does that work? If you do We can read this in /usr/src/usr.sbin/sendmail/src/READ_ME: NIS Define this to get NIS (YP) support for aliases and maps. Normally defined in the Makefile. but the option is NOT defined in the Makefile... and that's why it didn't work before. In short, to use mail-aliasing with NIS, we must do the following: 1) Add -DNIS in the DBMDEF line in the file /usr/src/usr.sbin/sendmail/src/Makefile and recompile sendmail; 2) Tell sendmail (in /etc/sendmail.cf) to use also NIS as alias file: # location of alias file O AliasFile=/etc/aliases,nis:mail.aliases 3) Restart sendmail. Et voila! Thanks VERY much!!! Claude
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609300048.UAA01381>