From owner-freebsd-questions Thu Nov 21 2:21:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F80A37B401 for ; Thu, 21 Nov 2002 02:21:52 -0800 (PST) Received: from efwd.dnsix.com (efwd.dnsix.com [216.34.94.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id D72BB43E6E for ; Thu, 21 Nov 2002 02:21:51 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from [62.168.44.50] (helo=bellavista.cz) by efwd.dnsix.com with esmtp (Exim 3.36 #1) id 18EoSW-0004dJ-00 for freebsd-questions@rentboy.co.za; Thu, 21 Nov 2002 02:21:23 -0800 Received: from freepuppy.bellavista.cz ([10.1.0.1]) by bellavista.cz (8.9.3/8.9.8) with ESMTP id LAA32236; Thu, 21 Nov 2002 11:16:44 +0100 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id CC48F2FDAB2; Thu, 21 Nov 2002 11:15:43 +0100 (CET) Date: Thu, 21 Nov 2002 11:15:43 +0100 From: Roman Neuhauser To: AlistairP@foschini.co.za Cc: freebsd-questions@rentboy.co.za Subject: Re: Sendmail not relaying to localhost (4.6 and 4.7 RELEASE) Message-ID: <20021121101543.GS77198@freepuppy.bellavista.cz> Mail-Followup-To: AlistairP@foschini.co.za, freebsd-questions@rentboy.co.za References: <08B1E5D97FE9D51197DB00062939FBA505C4CC03@ctexchg1.foschini.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08B1E5D97FE9D51197DB00062939FBA505C4CC03@ctexchg1.foschini.co.za> User-Agent: Mutt/1.5.1i 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 # AlistairP@foschini.co.za / 2002-11-21 11:30:30 +0200: > I had a weird problem a while ago that after installing > FreeBSD 4.6 RELEASE sendmail was not accepting local mail > for delivery. > > After looking at "mail -v " I saw that sendmail was > not accepting relaying for the localhost. Now I could > telnet to localhost on port 25 and that worked so SMTP > itself was running. that's not the same thing. mail(1) doesn't talk SMTP AFAIK. > The problem turned out to be that in /etc/hosts the following > was missing: > > ::1 localhost > > Now I thought that maybe that was an isolated problem with > FBSD4.6 but I install 4.7 last night (Mini ISO) and had the > exact same problem. The /etc/hosts file did not have ::1 do you use IPv6? if not (and you're not, or you wouldn't be asking the question below), it's meaningless. > I have been told that the ::1 is a IPV6 loopback? Is that > correct? yes, it's the IPv6 loopback. > Why would it seem to be missing from the install? *probably* because it's irrelevant in 99.5% cases? show us your /etc/rc.conf, and your sendmail configuration. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message