HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   ISPconfig 3 - Postfix - warning: dict_nis_init: NIS domain name not set - NIS lookups (http://www.howtoforge.com/forums/showthread.php?t=61543)

danhansen@denmark 20th April 2013 16:05

ISPconfig 3 - Postfix - warning: dict_nis_init: NIS domain name not set - NIS lookups
 
Hi,

Anybody who can confirm this fix - please remember, its an ISPconfig Server:

Problem:
warning: dict_nis_init: NIS domain name not set - NIS lookups disabled

Solution maybe?:
Nov 21 10:21:13 web postfix/smtpd[30732]: warning: dict_nis_init: NIS
domain name not set - NIS lookups disabled


It's a warning, not an error. You eliminate it by removing
NIS lookups.
First, find out what setting is using NIS:

$ postconf | grep nis:

This outputs something like
alias_maps = hash:/etc/aliases nis:mail.aliases
or
alias_maps = hash:/etc/mail/aliases nis:mail.aliases

Then, disable NIS lookups (as root):

# postconf -e alias_maps=hash:/etc/aliases
or
# postconf -e alias_maps=hash:/etc/mail/aliases

The exact command depends on "postconf | grep nis:" output



Looking forward to hear from anyone :)


All times are GMT +2. The time now is 20:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.