From owner-freebsd-questions Thu Jun 13 1:13:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 83CDC37B477 for ; Thu, 13 Jun 2002 01:13:28 -0700 (PDT) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.3/8.12.3) with ESMTP id g5D8CxNg065079; Thu, 13 Jun 2002 20:12:59 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.3/8.12.3/Submit) id g5D8Cx9j065078; Thu, 13 Jun 2002 20:12:59 +1200 (NZST) Date: Thu, 13 Jun 2002 20:12:59 +1200 From: Jonathan Chen To: robert at castley dot com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP link and sendmail Message-ID: <20020613201259.A65055@grimoire.chen.org.nz> References: <000801c212b0$6050d750$1601a8c0@charlie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <000801c212b0$6050d750$1601a8c0@charlie>; from robert@castley.com on Thu, Jun 13, 2002 at 09:00:23AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 13, 2002 at 09:00:23AM +0100, robert at castley dot com wrote: > Hi, > > I have configured PPP as per the guidelines and it is working a treat, but as I am running sendmail on my PPP gateway box I keep getting the error: > > Jun 13 08:57:48 freebsd sendmail[4414]: gethostbyaddr(127.1.1.1) failed: 1 > > In my ppp.conf I have the following: > > set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 > add 0 0 127.2.2.2 # Add a (sticky) default route > > How do I stop the sendmail error? Add a fake entry into /etc/hosts: 127.1.1.1 some.fake.entry -- Jonathan Chen ---------------------------------------------------------------------- "Irrationality is the square root of all evil" - Douglas Hofstadter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message