OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Question about a messages in /var/log/mail.warn

From: Alan Kennington (ak.postfixtopology.org)
Date: Thu Mar 06 2003 - 06:26:15 CST


On Thu, Mar 06, 2003 at 01:16:08PM +0100, Alexander Schaefer wrote:
>
> what is wrong in my postfix-configuration, when i get the following
> messages:
>
> "Mar 3 06:25:04 testrelay postfix/local[7166]: warning: dict_nis_init:
> NIS domain name not set - NIS lookups disabled"
>
> in my /var/log/mail.warn ?
>
> I don't use NIS on the mail-server.
>

I had the same problem 24 hours ago.
The problem disappears if you put this in your main.cf file:

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

This tells postfix that you do not wish to use NIS, which
it assumes by default.

Cheers,
Alan Kennington.