Name service error for <address>: Host not found, try again

This is a discussion on Name service error for <address>: Host not found, try again within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I recently installed postfix because of problems with name lookups with sendmail. Now I seem to get the same problems. ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-12-2004
Robert S
 
Posts: n/a
Default Name service error for <address>: Host not found, try again

I recently installed postfix because of problems with name lookups with
sendmail. Now I seem to get the same problems. This occurs whether or not
I use a smarthost. DNS seems to work OK with everything else. "postfix
check" gives no output.

Very sad - I like the look of postfix!

Is there some way of disabling name lookups for outgoing mail?? I'd like to
be able to check incoming mail to avoid spam.

Please note that "myserver.net.au" and "address.com.au" are hypothetical addresses.

debian:/etc/postfix# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
4514739D 279 Sun Sep 12 14:39:07 root@myserver.net.au
(Name service error for address.com.au: Host not found, try again)
robert@address.com.au

-- 0 Kbytes in 1 Request.

My main.cf:

debian:/etc/postfix# cat main.cf
# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.

# Do not change these directory settings - they are critical to Postfix
# operation.
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no
myhostname = debian
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = debian.myserver.net.au, localhost.myserver.net.au, localhost
relayhost = [203.220.32.149]
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +

Output of nslookup:

debian:/etc/postfix# nslookup hotmail.com -sil
Server: 192.168.0.1
Address: 192.168.0.1#53

Non-authoritative answer:
Name: hotmail.com
Address: 64.4.32.7

My /etc/hosts:

debian:/etc/postfix# cat /etc/hosts
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

192.168.0.33 debian.mydomain.net.au debian mail.mydomain.net.au

### END OF DEBCONF AREA. PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.

My resolv.conf:

debian:/etc/postfix# cat /etc/resolv.conf
domain mydomain.net.au
nameserver 192.168.0.1

My host.conf:

debian:/etc/postfix# cat /etc/host.conf
order hosts,bind
multi on
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0