Subject: Re: sendmail question
To: Stuart Brooks <stuartb@cat.co.za>
From: None <rmcm@compsoft.com.au>
List: netbsd-users
Date: 10/23/2001 05:54:39
I think NODNS may be a noop in recent sendmails - try configuring
/etc/nsswitch.conf to use files and check that all interfaces used by
sendmail are in /etc/hosts.
Manuel Bouyer writes:
> On Mon, Oct 22, 2001 at 05:16:55PM +0200, Stuart Brooks wrote:
> > I have a problem which I am hoping one of you might have a solution to. I
> > need to use sendmail to post to my personal e-mail address but I need to be
> > able to do it without doing a DNS lookup if possible.
> >
> > If I set up my /etc/resolv.conf file with my local dns, the mail is sent
> > fine (understandably), but removing resolv.conf results in the following
> > message being displayed when I run mailq:
> >
> > (Deferred: Name server: cat.co.za. : host name lookup failure)
> >
> > I have played around a bit with different entries in my /etc/hosts file
> > without too much luck, has anyone got any ideas? Any help would be much
> > appreciated?
>
> I think it's because it tries to do some canonalization on it.
> Check /usr/share/sendmail/README, for something like NODNS.
> Maybe you need other options too ...
>
> --
> Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
> --
--
Rex McMaster