From: Mark.Donaldson@mci.com
Subject: Re: Sendmail not using my /etc/hosts file.
Date: 1997/03/06 [thread overview]
Message-ID: <857666407.25707@dejanews.com> (raw)
In-Reply-To: 331E269E.6F81@sun.mech.uq.edu.au
In article <331E269E.6F81@sun.mech.uq.edu.au>,
"Andrew Mc.Ghee" <mcghee@sun.mech.uq.edu.au> wrote:
>
> Mark,
> Are you running tcp_wrappers on your system?
I don't know. I inherited this system. The man pages turn up no
reference to wrap, wrappers, or tcpd so I suspect not. I also have no
tcpd process.
<snip>
> However, we do notice that nslookup still does not work either. If you
> hear of a method to fix this, we'd appreciate hearing from you.
>
According to my O'Reilly sendmail book, sendmail uses nslookup to resolve
hostnames. Strangely enough, "ping" can lookup the name from /etc/hosts
just fine while nslookup and sendmail cannot. I could hardcode the
address into the sendmail config file but I'd rather not. I try to keep
my fingers out of that and it is only a symptomatic fix, not a fix to the
core problem.
Thanks for the input, though.
Anybody else have any ideas?
-Mark
(forgive the dejanews posting source, our news server here is flaky right
now)
> Mark Donaldson wrote:
> >
> > For some reason, sendmail (and nslookup) are not using my /etc/hosts
> > file to resolve IP addresses. The DNS addresses resolve just fine but
> > I'm sending mail to a hostname that isn't in DNS but is in my hosts
> > table.
> >
> > I'm using Digital UNIX 3.2c.
> >
> > My /etc/svc.conf file looks like this (comments snipped):
> > aliases=local
> > group=local
> > hosts=local,bind
> > netgroup=local
> > networks=local
> > passwd=local
> > protocols=local
> > rpc=local
> > services=local
> >
> > SECLEVEL=BSD # for backwards compatibility ONLY
> >
> > Any ideas??
> >
> > -Mark Donaldson
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
next prev parent reply other threads:[~1997-03-06 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-05 5:00 Sendmail not using my /etc/hosts file Mark Donaldson
1997-03-06 5:00 ` Andrew Mc.Ghee
1997-03-06 5:00 ` Mark.Donaldson [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-03-05 5:00 Mark Donaldson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox