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: 10de99,71848ad628a96803 X-Google-Attributes: gid10de99,public X-Google-Thread: fee84,71848ad628a96803 X-Google-Attributes: gidfee84,public From: "Andrew Mc.Ghee" Subject: Re: Sendmail not using my /etc/hosts file. Date: 1997/03/06 Message-ID: <331E269E.6F81@sun.mech.uq.edu.au>#1/1 X-Deja-AN: 223416844 References: <331da72d.2825120@news.internetmci.com> To: Mark Donaldson Organization: Mechanical Engineering, UQ Newsgroups: comp.unix.osf.osf1,comp.mail.sendmail,comp.unix.osf Mark, Are you running tcp_wrappers on your system? We had a similar problem for host machines that where defined within our /etc/hosts file but where not defined on the local DNS server. If you are using tcpd, then your problem is probably associated with the PARANOID option set in tcpd, when requests a second check on any hostname. Hence the host name in your /etc/hosts file will not match a query from your local DNS, and the request is aborted. If this is your problem (I am unsure how sendmail is affected by tcpd), then you can re-compile tcpd with the PARANOID option commented out, and it should work fine. 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. regards, Andrew Mc.Ghee Mechanical Engineering, University of Queensland 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