From owner-freebsd-questions@FreeBSD.ORG Mon Jun 11 18:18:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BF1816A469 for ; Mon, 11 Jun 2007 18:18:26 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 1987F13C465 for ; Mon, 11 Jun 2007 18:18:26 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 8266 invoked from network); 11 Jun 2007 18:18:25 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Jun 2007 18:18:25 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 2D72328440; Mon, 11 Jun 2007 14:18:24 -0400 (EDT) To: Foo JH To: freebsd-questions@freebsd.org References: <466CB2DF.30808@extracktor.com> From: Lowell Gilbert Date: Mon, 11 Jun 2007 14:18:24 -0400 In-Reply-To: <466CB2DF.30808@extracktor.com> (Foo JH's message of "Mon\, 11 Jun 2007 10\:26\:39 +0800") Message-ID: <44zm36e4nj.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: Shorten delay in sending mail to SMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 18:18:26 -0000 Foo JH writes: > I'm using inetd + qmail to implement a mail server. The combo works, > but usually sending a mail takes some 5-10 seconds. > > I suspect it's largely because inetd or qmail is trying to do some dns > lookup or something, before letting it through. Is there any way to > shorten this process - if possible eliminate it altogether? What exactly is happening when this delay occurs? Are you asking to send an e-mail to a foreign mailserver without looking up that server's e-mail address? > Some time back, there was an advice to avoid inetd. It's probably a > good idea, but I hope to deal with this first before moving forward on > the setup. If your e-mail volumes are extremely low, it may even be a *good* idea. At the cost of a small extra latency, of course; but not multiple seconds worth.