From owner-freebsd-questions Sat Jan 13 13:56:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.one.net (mail3.one.net [206.112.192.120]) by hub.freebsd.org (Postfix) with ESMTP id D794B37B400 for ; Sat, 13 Jan 2001 13:56:31 -0800 (PST) Received: from ip-216-23-52-182.adsl.one.net ([216.23.52.182] EHLO arrakis.desert-power.org ident: IDENT-NOT-QUERIED [port 13329]) by mail2.one.net with ESMTP id <336008-27043>; Sat, 13 Jan 2001 16:56:17 -0500 Received: (from mwithers@localhost) by arrakis.desert-power.org (8.9.3/8.9.3) id QAA22836 for freebsd-questions@freebsd.org; Sat, 13 Jan 2001 16:57:10 -0500 (EST) (envelope-from mwithers) From: "Mark B. Withers" To: freebsd-questions Subject: Re: error message: sendmail[22285]: gethostbyaddr(10.196.23.164) failed: 1 Message-ID: <20010113165709.G22576@arrakis.desert-power.org> References: <20010113161840.A22576@arrakis.desert-power.org> <003501c07da9$c4e80960$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <003501c07da9$c4e80960$1200a8c0@gsicomp.on.ca>; from matt@gsicomp.on.ca on Sat, Jan 13, 2001 at 04:41:35PM -0500 Date: Sat, 13 Jan 2001 16:56:14 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for all the help! Both yours and Ian's advice was right! I don't get the error messages anymore and all I had to do was edit /etc/hosts to correct this. :) Mark On Sat, Jan 13, 2001 at 04:41:35PM -0500, Matthew Emmerton wrote: > > Every time I send an email message, I get the following error message: > > > > sendmail[22285]: gethostbyaddr(X.X.X.X) failed: 1 > > > > (where x.x.x.x is my local ip address). > > > > Could anyone point me in the right direction for finding out how to > > correct this? > > gethostbyaddr() does a reverse DNS lookup. > > If you're running named, make sure that you've got reverse DNS properly > configured. > If you're not running named, add the appropriate IP/host pairs to > /etc/hosts. > > -- > Matt Emmerton > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message