Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

mail.log error

SOLVED
Go to solution
Jim Smith
Advisor

mail.log error

Hi,

I get this error in mail.log frequently. Im not running NIS, how can I fix it ?

NOQUEUE: SYSERR(root): NIS map mail.aliases specified, but NIS not running
3 REPLIES
Lasse Knudsen
Esteemed Contributor
Solution

Re: mail.log error

Have "aliases files" in /etc/mail/service.switch
In a world without fences - who needs Gates ?
Carol Garrett
Trusted Contributor

Re: mail.log error


if the file /etc/mail/service.switch doesnt exist then the default for sendmail is to use nisplus for aliases. So create this file by copying the default from /etc/newconfig/etc/maik/service.switch to /etc/mail. This should contain a line at the bottom which says;
aliases files
Restart sendmail and that should stop the errors.
Dave Kelly_1
Respected Contributor

Re: mail.log error

Only sendmail 8.7.1 and below uses service.switch.

Try checking /etc/nsswitch.conf instead.