From owner-freebsd-hackers Wed Aug 28 10: 0:20 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 B97EE37B400 for ; Wed, 28 Aug 2002 10:00:09 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id E25B243E65 for ; Wed, 28 Aug 2002 10:00:08 -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 1C6643F28; Wed, 28 Aug 2002 13:00:08 -0400 (EDT) From: "Dan Langille" To: "Michael Scheidell" Date: Wed, 28 Aug 2002 12:58:09 -0400 MIME-Version: 1.0 Subject: Re: why does this sendmail connection take so long? Cc: Message-ID: <3D6CC8E1.8800.896A6F03@localhost> In-reply-to: <003e01c24a2b$31eb7980$3301010a@MIKELT> 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 22 Aug 2002 at 18:28, Michael Scheidell wrote: > ----- Original Message ----- > From: ""Dan Langille"" > Newsgroups: local.freebsd.hackers > Sent: Thursday, August 22, 2002 1:41 PM > Subject: why does this sendmail connection take so long? > > > > I'd normally attribute this problem to DNS, but I can't track down > > what DNS problem is occuring. Note the lag between the first event > > and the next. Any suggestions? > > might be identd (port 113) After some testing, I'm inclined to think it's not ident. The network in question is behind a firewall which is doing NAT. Two boxes do not exibit the problem. Two do. All are FreeBSD 4.6-stable created from same source snapshot. 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 The two boxes which exibit the probem are the DNS server and the firewall. Mail sent from those boxes exhibit identical delays, namely a 75 second lag between the first and second event (see below for an example; note that I've changed the real domain to example.org). I'm not sure whether this indicates a problem on the sending or receiving end. I suspect sending. But what the problem is I'm not sure yet. I've been running "tcpdump -i lo0 port 53" to see if I could find anything suspect in there, but I didn't. BTW, what would I be looking for if the above delay is caused by DNS? Thanks. Aug 28 12:07:24 xeon sendmail[66323]: g7SG7O7G066323: from=dan, size=37, class=0, nrcpts=1, msgid=<200208281607.g7SG7O7G066323@xeon.example.org>, relay=dan@localhost Aug 28 12:08:39 xeon sm-mta[66507]: g7SG8dvj066507: from=, size=351, class=0, nrcpts=1, msgid=<200208281607.g7SG7O7G066323@xeon.example.org>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] Aug 28 12:08:40 xeon sendmail[66323]: g7SG7O7G066323: to=dan@m20.example.org, ctladdr=dan (1000/1000), delay=00:01:16, xdelay=00:01:16, mailer=relay, pri=30028, relay=localhost.example.org. [127.0.0.1], dsn=2.0.0, stat=Sent (g7SG8dvj066507 Message accepted for delivery) Aug 28 12:08:42 xeon sm-mta[66509]: g7SG8dvj066507: to=, ctladdr= (1000/1000), delay=00:00:03, xdelay=00:00:02, mailer=esmtp, pri=30342, relay=m20.example.org. [216.187.106.227], dsn=2.0.0, stat=Sent (Ok: queued as 169F57A11) -- 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