Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 08:39:59 -0400
From:      "Dan Langille" <dan@langille.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: why does this sendmail connection take so long?
Message-ID:  <3D6DDDDF.7293.8DA46F18@localhost>
In-Reply-To: <3D6D600A.589DDDCF@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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...

<insert 75s delay here>

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:<dan@xeon.example.org> SIZE=34
250 2.1.0 <dan@xeon.example.org>... Sender ok
>>> RCPT To:<dan@m20.example.org>
>>> DATA
250 2.1.5 <dan@m20.example.org>... 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:<dan@xeon.example.org> SIZE=37
250 2.1.0 <dan@xeon.example.org>... Sender ok
>>> RCPT To:<dan@m20.example.org>
>>> DATA
250 2.1.5 <dan@m20.example.org>... 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:<dan@xeon.example.org>
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:<dan@xeon.example.org> SIZE=37
250 Ok
RCPT To:<dan@m20.example.org>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>

.
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D6DDDDF.7293.8DA46F18>