Date: Thu, 29 Aug 2002 12:53:14 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Dan Langille <dan@langille.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: why does this sendmail connection take so long? Message-ID: <3D6E7BAA.80DDA04E@mindspring.com> References: <3D6DDDDF.7293.8DA46F18@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille wrote: > On 28 Aug 2002 at 16:43, Terry Lambert wrote: > > 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> This is either ident or the reverse DNS. Since the delay is ~75s, and that's on the order of 3 tries of 25s each, I would say it was a resolver issue, not an ident issue. Most likely, it's the reverse lookup of the 127.0.0.1. You need to make your local DNS server claim authority for the 127.in-addr.arpa. domain, and put the reverse mapping for the name "localhost" in there. The most common cause of a problem like this for a net connected system is a firewall that blocks DNS UDP packets; otherwise, it would just find that same value in the global DNS. I have patches for Sendmail 8.9.3 that fix this sort of thing up (I didn't want to bring up the link in a dial-on-demand device when processing local email), for all the good that will do you, since it's an ancient version tese days. ;^). -- Terry 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?3D6E7BAA.80DDA04E>