From owner-freebsd-hackers Thu Aug 22 17:36:14 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 6EACF37B400 for ; Thu, 22 Aug 2002 17:36:12 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB7A43E6A for ; Thu, 22 Aug 2002 17:36:12 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0311.cvx21-bradley.dialup.earthlink.net ([209.179.193.56] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 4.10) id 17i2Qo-0003Pn-00; Thu, 22 Aug 2002 17:36:06 -0700 Message-ID: <3D65833D.3F4D5905@mindspring.com> Date: Thu, 22 Aug 2002 17:35:09 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Langille Cc: freebsd-hackers@freebsd.org Subject: Re: why does this sendmail connection take so long? References: <3D64EA4F.13423.6AA8F51E@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Langille wrote: > I'd normally attribute this problem to DNS, but I can't track down > what DNS problem is occuring. Note the lag between the first event > and the next. Any suggestions? Sendmail attempts to do a "getpeername()" and an identd lookup of the sending process for logging purposes. You can turn this off. For a persistant connection, the second thing that gets sent down it avoids this check. The DNS timeout is by default ~300 seconds, last time I looked. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message