From owner-freebsd-hackers Thu Aug 29 11:27:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5737D37B400 for ; Thu, 29 Aug 2002 11:27:11 -0700 (PDT) Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D32743E3B for ; Thu, 29 Aug 2002 11:27:10 -0700 (PDT) (envelope-from gshapiro@gshapiro.net) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.6.Beta0/8.12.6.Beta1) with ESMTP id g7TIR86X097593 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 29 Aug 2002 11:27:08 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.6.Beta0/8.12.6.Beta1/Submit) id g7TIR86G097590; Thu, 29 Aug 2002 11:27:08 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15726.26491.969569.176848@horsey.gshapiro.net> Date: Thu, 29 Aug 2002 11:27:07 -0700 From: Gregory Neil Shapiro To: "Dan Langille" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: why does this sendmail connection take so long? In-Reply-To: <3D6E2D31.29065.8EDA44C7@localhost> References: <3D6E243B.1515.8EB744E7@localhost> <3D6E2D31.29065.8EDA44C7@localhost> X-Mailer: VM 7.03 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dan> sm_gethostbyname(localhost, 28)... localhost dan> alias: localhost.example.org dan> addr: IPv6:::1 dan> makeconnection (localhost.example.org. [IPv6:::1].25 (28)) dan> makeconnection: fd=6 dan> *** delay occurs here. dan> Connect failed (Operation timed out with localhost.example.org.); dan> retrying with AF_INET.... That explains it. You have a record pointing localhost.example.org at ::1 but your sendmail daemon isn't listening for IPv6 connections and worse yet your host appears to drop instead of reject connection attempts. My guess is you have IP firewalling enabled (either IPFW or IPF) and default to drop or have ip6fw or ipf rulesets that effectively to do the same. Assuming for the moment you have this in your kernel config: options IPV6FIREWALL And don't have (which you shouldn't): options IPV6FIREWALL_DEFAULT_TO_ACCEPT Then you can add this to /etc/rc.conf: ipv6_enable="YES" ipv6_firewall_enable="YES" ipv6_firewall_type="closed" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message