From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 09:50:10 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 0D80716A4A7 for ; Tue, 12 Jun 2007 09:50:10 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8135D13C448 for ; Tue, 12 Jun 2007 09:50:09 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id l5C9nrCs009435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jun 2007 16:49:53 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id l5C9nrPB088807; Tue, 12 Jun 2007 16:49:53 +0700 (ICT) Date: Tue, 12 Jun 2007 16:49:53 +0700 (ICT) Message-Id: <200706120949.l5C9nrPB088807@banyan.cs.ait.ac.th> From: Olivier Nicole To: jhfoo-ml@extracktor.com In-reply-to: <466E695E.8030300@extracktor.com> (message from Foo JH on Tue, 12 Jun 2007 17:37:34 +0800) References: <466CB2DF.30808@extracktor.com> <9ADFB3BA-F02E-458D-80C1-2F13EAC769EF@mac.com> <466E695E.8030300@extracktor.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) 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 09:50:10 -0000 > Thanks for the reply. What happens during the sending of any email, is > that my Thunderbird will show 'Connected to mail.xyz.com...' for a > couple of seconds. Bear in mind that my (test) mails are very short, so > it can't be due to data transfer. After that the text says sending mail > and stuff like that. All of which take rather insignificant time. > > The other thing that may be responsible is that my mail server does smtp > authentication. But I don't really think this will be a culprit, as I > have other mail clients that do local mail delivery only and hence do > not need authentication. And these clients hit the same few-second wait > as well. 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