[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sendmail: Deferred: Name server: <address>: host name lookup failure



I realise that this must be one of the most commonly asked questions on the
net, but haven't found an answer despite extensive googling.  I assume that
my DNS is screwed.

I have set up a mail server using sendmail and debian 3.0.  I am using an
D-Link ADSL ethernet router, which acts as a name server.  My outgoing
messages don't get sent and I get this in the mail log (for a message to a
hypothetcial recipient.com.au.  My server has the name myserver.net.au -
also hypothetical):

Sep  8 18:04:36 debian sm-mta[3550]: i8883aUu003545:
to=<robert@recipient.com.au>, ctladdr=<robert@debian> (1000/1000), delay=0
0:00:40, xdelay=00:00:40, mailer=esmtp, pri=120440, relay=recipient.com.au.,
dsn=4.0.0, stat=Deferred: Name server: recipient.co
m.au.: host name lookup failure

My /etc/mail/sendmail.mc:

divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.12.3-6.6 2003-09-17 18:35:09 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
LOCAL_CONFIG
FEATURE(`masquerade_envelope')dnl
LOCAL_CONFIG
Cwmydomain.net.au
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`smrsh')dnl
LOCAL_CONFIG
FEATURE(`access_db', hash -T<TMPF> /etc/mail/access)dnl
FEATURE(`dnsbl', `sbl.spamhaus.org', `550 Mail rejected - your mail server
is blacklisted: See http://www.spamhaus.org')dnl
FEATURE(`dnsbl', `relays.ordb.org',  `550 Mail rejected - your mail server
is blacklisted: See http://www.ordb.org/faq/\#why_rejected')dnl
FEATURE(`dnsbl', `list.dsbl.org',    `550 Mail rejected - your mail server
is blacklisted: See http://dsbl.org/main')dnl
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clamav-milter.ctl,F=,
T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')dnl
define(`LOCAL_MAILER_PATH', `/usr/bin/procmail')dnl
FEATURE(`local_procmail')dnl
FEATURE(nodns)dnl
MAILER_DEFINITIONS
MAILER(`procmail')dnl
MAILER(local)dnl
MAILER(smtp)dnl

My /etc/resolv.conf:

domain mydomain.net.au
nameserver 192.168.0.1

My /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

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

Output of  nslookup ozemail.com.au
Server:         192.168.0.1
Address:        192.168.0.1#53

Non-authoritative answer:
Name:   ozemail.com.au






Reply to: