OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Error: Name service error for localhost: Host found but no data record of requested type

From: Wietse Venema (wietseporcupine.org)
Date: Mon Nov 03 2003 - 09:45:27 CST


kk ii:
> My postfix is working fine, and the problem happens
> when I tried to set up to set up clamav, spamassassin
> and amavisd-new with postfix to scan virus and spam.
>
> Spamassassin, clamav and amavisd-new seems to be
> installed and started fine, but postfix is complaining
> with the error
>
> Name service error for localhost: Host found but no
> data
> record of requested type

add localhost to the mydestination setting, for example:

    mydestination = $myhostname, localhost.$mydomain localhost

        Wietse