Re: "Name service error for name=localhost type=A" Error

From: Ryan Knopp (no email)
Date: Fri Feb 13 2004 - 15:25:32 EST


Wietse Venema wrote:

>Ryan Knopp:
>
>
>> >>>>>>>>< <mailto:>>: Name service
>> >>error for name=localhost type=A: Host not found
>>
>> >>What is this? Is this a reply from the Postfix SMTP server while
>> >>Postfix RECEIVES mail? Is this in an email message that Postfix
>> >>returns to the sender when it is unable to DELIVER mail?
>>
>>This is what the sender gets sent back and this is also what gets sent
>>to the root at localhost account. It comes from
>>Mail Delivery System <>
>>
>>
>
>And now you have to find out why Postfix attempts to send
>this mail to localhost (is there a content filter?).
>
>If that is really what you want, then either configure a DNS zone
>that answers to queries for "localhost", for example:
>
>/etc/namedb/named.conf:
> zone "localhost" in {
> type master;
> file "localhost";
> };
>
>/etc/namedb/localhost:
> @ IN SOA spike.porcupine.org. wietse.spike.porcupine.org. (
> 1996120101 ; Serial
> 3600 ; Refresh
> 300 ; Retry
> 3600000 ; Expire
> 3600 ) ; Minimum
> IN NS spike.porcupine.org.
> IN A 127.0.0.1
>
>or else you configure Postfix to look in /etc/hosts:
>
>/etc/postfix/main.cf:
> smtp_host_lookup = dns, native
>
>This forces lookups via gethostbyname().
>
> Wietse
>
>
>
>
Kind of made a mistake if this helps, my Postfix errors are being sent
to , my cron messages get sent to root at localhost dot








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD