question about .forward and NIS aliases map
I admit freely that I'm not a NIS guru, but I have a strange situation here and I'm not sure if it's a works as designed or if there's something I'm missing
just a few little things to make things clear from the getgo
/etc/nsswitch.conf
snip
aliases:files nis
root@mymachine:/# ypcat -k aliases |egrep "^root"
root someuser@mydomain.com
root@mymachine:/#cat /.forward
<my userid either on this machine or elsewhere>
root@mymachine:/#egrep "^root" /etc/aliases
<nothing>
ok, hopefully that's a good level set, and just to clarify, yes, ypbind is running....
If I create a /.forward file for the root user in it's home directory, with <some other user id or whatever> in it, and send mail to root, it does not go to the alias in the .forward but rather to the NIS aliases entry.
If I create an entry in /etc/mail/aliases, newaliases and then send mail,it goes to that entry and not the entry in NIS aliases.
Is this expected behavior, for .forward to be ignored on a machine where nsswitch has both files and nis set? Is there a change to the nsswitch.conf file that will allow the order to be
/etc/mail/aliases
.forward
NIS aliases
just wondering...
thanks!

