Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!fuug!funic!nntp.hut.fi!sauna!jpm From: jpm@cs.hut.fi (Jussi-Pekka Mantere) Newsgroups: comp.unix.aux Subject: Re: loopy sendmail Message-ID: Date: 4 Jun 91 22:37:59 GMT References: <1991Jun2.235946.29815@intacc.uucp> Sender: usenet@nntp.hut.fi (Usenet pseudouser id) Organization: Helsinki University of Technology, Finland Lines: 17 In-Reply-To: mann@intacc.uucp's message of 2 Jun 91 23:59:46 GMT Nntp-Posting-Host: sauna.hut.fi In article <1991Jun2.235946.29815@intacc.uucp> mann@intacc.uucp (Jeff Mann) writes: -/etc/hosts contains: 0x7F.0x00.0x00.0x01 loop lo loo intacc (I tried putting intacc first, but it didn't make any difference) Just a wild guess, but did you kill & restart sendmail after you changed /etc/hosts? "0x7F.0x00.0x00.0x01 intacc loop lo loo" should do the trick. -gethostname(2) reports intacc How about getpeername(2)? (This (perhaps) requires somewhat more work, as you'd have to build somekind of a network server...) Regards, Chape