From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 4 22:34:51 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5DF2106566B for ; Thu, 4 Jun 2009 22:34:51 +0000 (UTC) (envelope-from gshapiro@freebsd.org) Received: from zim.gshapiro.net (zim.gshapiro.net [IPv6:2001:4f8:3:36::224]) by mx1.freebsd.org (Postfix) with ESMTP id 9F01F8FC14 for ; Thu, 4 Jun 2009 22:34:51 +0000 (UTC) (envelope-from gshapiro@freebsd.org) Received: from rugsucker.smi.sendmail.com (natted.sendmail.com [63.211.143.38]) (authenticated bits=128) by zim.gshapiro.net (8.14.3/8.14.3) with ESMTP id n54MYm3d014334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Jun 2009 15:34:50 -0700 (PDT) (envelope-from gshapiro@freebsd.org) Date: Thu, 4 Jun 2009 15:34:48 -0700 From: Gregory Shapiro To: "Bjoern A. Zeeb" Message-ID: <20090604223448.GD465@rugsucker.smi.sendmail.com> References: <4A27D38B.6040108@erdgeist.org> <20090604203905.B12292@maildrop.int.zabbadoz.net> <20090604212123.GK59532@rugsucker.smi.sendmail.com> <20090604220734.H12292@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090604220734.H12292@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-hackers@freebsd.org Subject: Re: Jails, loopback interfaces and sendmail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 22:34:52 -0000 >> 8.12.7/8.12.7 2002/12/29 > yes, that's not from stone age:( Well, the way things move, it almost is. :) > Have you ever thought about having those files changed just for > FreeBSD? Or had there been porblems on FreeBSD systems with localhost > as well? Now that you mention it, we are already using separate FreeBSD files in src/etc/sendmail/freebsd{,.submit}.mc so I can do something different for FreeBSD. I think we are still in code slush and not freeze for 8.0. I'll double check and if so, make the change tonight (with a note in UPDATING). As I recall, nobody reported a problem resolving localhost under FreeBSD. > Has it been a special time with localhost and IPv6 that caused > problems as 2002 has been rather late in terms of sendmail and > resolver etc. What had started to cause those problems? Sadly, that didn't stick in my memory. The MTA handles IPv4 fallback on a failed IPv6 connection if an IPv4 address is available so I don't think IPv6 enters into it. If I recall correctly, it was simply a matter of localhost returning h_errno == HOST_NOT_FOUND or the resolver returning NXDOMAIN. I'll check with Claus to see if he remembers. Another scenario that I still see today (as owner of localhost.org) is sites that have a bogus 'domain' or 'search' such that the lookup for 'localhost' returns information about 'localhost.com' or 'localhost.org'. I've tried to improve that situation by mapping localhost.org's A record to 127.0.0.1. Unfortunately, the owners of localhost.com and localhost.net (as well as possibly everything other TLD) have not done the same.