From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 15:30:35 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 A750C16A468 for ; Tue, 12 Jun 2007 15:30:35 +0000 (UTC) (envelope-from jhfoo-ml@extracktor.com) Received: from mail.extracktor.com (www.nexlabs.com [210.193.32.133]) by mx1.freebsd.org (Postfix) with ESMTP id EE0FF13C44C for ; Tue, 12 Jun 2007 15:30:34 +0000 (UTC) (envelope-from jhfoo-ml@extracktor.com) Received: (qmail 36184 invoked from network); 12 Jun 2007 15:14:55 -0000 Received: from unknown (HELO ?192.168.1.100?) (jhfoo@nexlabs.com@222.165.92.33) by www.nexlabs.com with SMTP; 12 Jun 2007 15:14:55 -0000 Message-ID: <466EBC05.3020202@extracktor.com> Date: Tue, 12 Jun 2007 23:30:13 +0800 From: Foo JH User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Olivier Nicole References: <466CB2DF.30808@extracktor.com> <9ADFB3BA-F02E-458D-80C1-2F13EAC769EF@mac.com> <466E695E.8030300@extracktor.com> <200706120949.l5C9nrPB088807@banyan.cs.ait.ac.th> In-Reply-To: <200706120949.l5C9nrPB088807@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions-local@be-well.ilk.org, freebsd-questions@freebsd.org Subject: Re: Shorten delay in sending mail to SMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 15:30:35 -0000 Olivier, I have no visibility on the delay on which external smtp servers deliver mails to my mail server. Once a mail is sent out of my mail client, the mail can be received immediately through my imap client. To give a more detailed picture on load, my Qmail does not really a heavy load. I'd say at 9 times out of 10 there are no mails in the queue. Everything is stored locally so I have no reason to suspect internal network delays and all. My suspicion with the delay being related to dns lookups, is partially also because I wait a couple of seconds less when I am sending from within the same service provider. Yet when I (for example go home and) send from another service provider, the delay is longer (by a couple more seconds). Do note that I am on all tests on broadband, so we can assume network delay is negligible. Can anyone confirm that Qmail/ inetd/ FreeBSD does some form of dns lookup on it's SMTP? > Do you receive email from outside world on this machine? Do you think > there is the same delay? > > How do you notice the delay? After Thunderbird mentionned that the > email was successfully sent, you immdiately try to get new email from > your inbox and it takles time? > > How big is your inbox? What mailbox format are you using? Are the disk > local or network mounted? How much loaded is your machine? How many > emails do you receive at time? Do you read with pop or imap? Are > pop/imap launched by inetd or they are daemonized? Do you have any > anti virus/spam facility? Do you implement some fancy MDA like > procmail? > > Remember that email is not instant messaging, but store and forward: > it is a slow and batch processing, it is dessign to support delay and > certainly the design should generate some. > > If the delay remains 5 seconds when your server process 1 or 10000 > messages per hour, then there is nothing to worry about. > > Authentication should effect only to sending, it deals with the > communication between Thunderbird and qmail. It has nothing to do with > reading your mailbox and should have nothing to do with the in between > delay. > > Bests, > > olivier >