From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d532,70a3b400d5fb713f X-Google-Attributes: gid10d532,public X-Google-Thread: fee84,71848ad628a96803 X-Google-Attributes: gidfee84,public X-Google-Thread: 10de99,71848ad628a96803 X-Google-Attributes: gid10de99,public From: Mark.Donaldson@mci.com Subject: Re: Sendmail not using my /etc/hosts file. Date: 1997/03/06 Message-ID: <857666407.25707@dejanews.com>#1/1 X-Deja-AN: 223546205 References: <331da72d.2825120@news.internetmci.com> <331E269E.6F81@sun.mech.uq.edu.au> X-Http-User-Agent: Mozilla/2.0 (compatible; MSIE 3.01; Windows 95) X-Originating-IP-Addr: 166.41.59.97 () Organization: Deja News Usenet Posting Service X-Article-Creation-Date: Thu Mar 06 16:40:07 1997 GMT X-Authenticated-Sender: Mark.Donaldson@mci.com Newsgroups: comp.unix.osf.osf1,comp.mail.sendmail,comp.unix.osf In article <331E269E.6F81@sun.mech.uq.edu.au>, "Andrew Mc.Ghee" 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. > 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