1834508 Members
2349 Online
110068 Solutions
New Discussion

Re: mail.aliases

 
moon_5
Advisor

mail.aliases

Hi all~

I already changed name nsswitch.conf -> nsswitch.conf.old like this
because this system don't using dns, nis...etc

but still this message in the syslog

Apr 1 16:39:18 khan2 sendmail[7564]: NOQUEUE: SYSERR(root): NIS map mail.aliases specified, but NIS not running

please help ~~
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: mail.aliases

Hi,

Did you restart sendmail ?

# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start

Robert-Jan
Alex Glennie
Honored Contributor

Re: mail.aliases

also are we certain the sendmail.cf file is correct for the version of sendmail you are using .... maybe an idea to attach a copy ....
Geoff Wild
Honored Contributor

Re: mail.aliases

You still need a nsswitch.conf file - just change it to "files" instead of NIS or DNS...

#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.