From owner-freebsd-hackers Thu Aug 29 5:41:59 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 9FAA137B400 for ; Thu, 29 Aug 2002 05:41:54 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id E59E543E42 for ; Thu, 29 Aug 2002 05:41:53 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 247673F28; Thu, 29 Aug 2002 08:41:53 -0400 (EDT) From: "Dan Langille" To: Terry Lambert Date: Thu, 29 Aug 2002 08:39:59 -0400 MIME-Version: 1.0 Subject: Re: why does this sendmail connection take so long? Cc: freebsd-hackers@FreeBSD.ORG Message-ID: <3D6DDDDF.7293.8DA46F18@localhost> In-reply-to: <3D6D600A.589DDDCF@mindspring.com> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 On 28 Aug 2002 at 16:43, Terry Lambert wrote: > Dan Langille wrote: > > I've tested this from several boxes behind my firewall each time > > emailing to a box outside the firewall. The test was: > > > > echo 'hi there' | mail dan@m20.example.org > > echo 'hi there' | mail -v dan@m20.example.org > > ? After issuing the above command, there is a 75s delay (see below for delay location). All subsequent lines appear without delay. At the end of this message, I've issued the commands by hand. No delays occur. [dan@xeon:~] $ echo 'hi there' | mail -v dan@m20.example.org dan@m20.example.org... Connecting to localhost.example.org. via relay... 220 xeon.example.org ESMTP Sendmail 8.12.5/8.12.5; Thu, 29 Aug 2002 08:32:14 -0400 (EDT) >>> EHLO xeon.example.org 250-xeon.example.org Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From: SIZE=34 250 2.1.0 ... Sender ok >>> RCPT To: >>> DATA 250 2.1.5 ... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 g7TCWERq037402 Message accepted for delivery dan@m20.example.org... Sent (g7TCWERq037402 Message accepted for delivery) Closing connection to localhost.example.org. >>> QUIT 221 2.0.0 xeon.example.org closing connection 220 xeon.example.org ESMTP Sendmail 8.12.5/8.12.5; Thu, 29 Aug 2002 08:32:30 -0400 (EDT) >>> EHLO xeon.example.org 250-xeon.example.org Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From: SIZE=37 250 2.1.0 ... Sender ok >>> RCPT To: >>> DATA 250 2.1.5 ... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 g7TCWURq037483 Message accepted for delivery dan@m20.example.org... Sent (g7TCWURq037483 Message accepted for delivery) Closing connection to localhost.example.org. >>> QUIT 221 2.0.0 xeon.example.org closing connection You have new mail in /var/mail/dan [dan@xeon:~] $ telnet m20.example.org 25 Trying 216.187.106.227... Connected to m20.example.org. Escape character is '^]'. 220 m20.example.org ESMTP Postfix MAIL From: 503 Error: send HELO/EHLO first ^C^] telnet> quit Connection closed. [dan@xeon:~] $ telnet m20.example.org 25 Trying 216.187.106.227... Connected to m20.example.org. Escape character is '^]'. 220 m20.example.org ESMTP Postfix EHLO xeon.example.org 250-m20.example.org 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-XVERP 250 8BITMIME MAIL From: SIZE=37 250 Ok RCPT To: 250 Ok DATA 354 End data with . . 250 Ok: queued as A62127A11 QUIT 221 Bye Connection closed by foreign host. [dan@xeon:~] $ -- Dan Langille I'm looking for a computer job: http://www.freebsddiary.org/dan_langille.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message