atom feed22 messages in org.freebsd.freebsd-hackersRe: why does this sendmail connection...
FromSent OnAttachments
Dan LangilleAug 22, 2002 10:42 am 
Dan NelsonAug 22, 2002 11:47 am 
Michael ScheidellAug 22, 2002 3:27 pm 
Terry LambertAug 22, 2002 5:34 pm 
Dan LangilleAug 22, 2002 9:03 pm 
Terry LambertAug 22, 2002 10:29 pm 
Dan LangilleAug 28, 2002 9:57 am 
Jim BrownAug 28, 2002 10:48 am 
Terry LambertAug 28, 2002 4:42 pm 
Dan LangilleAug 29, 2002 5:39 am 
Gregory Neil ShapiroAug 29, 2002 10:31 am 
Dan LangilleAug 29, 2002 10:39 am 
Gregory Neil ShapiroAug 29, 2002 10:57 am 
Dan LangilleAug 29, 2002 11:18 am 
Gregory Neil ShapiroAug 29, 2002 11:26 am 
Dan LangilleAug 29, 2002 11:33 am 
Gregory Neil ShapiroAug 29, 2002 11:50 am 
Dan LangilleAug 29, 2002 11:56 am 
Terry LambertAug 29, 2002 12:52 pm 
David O'BrienSep 1, 2002 5:25 pm 
Eric ParuselSep 1, 2002 10:59 pm 
Gregory Neil ShapiroSep 2, 2002 4:22 pm 
Subject:Re: why does this sendmail connection take so long?
From:Terry Lambert (tlam@mindspring.com)
Date:Aug 22, 2002 10:29:39 pm
List:org.freebsd.freebsd-hackers

Dan Langille wrote:

On 22 Aug 2002 at 17:35, Terry Lambert wrote:

Dan Langille wrote:

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?

Sendmail attempts to do a "getpeername()" and an identd lookup of the sending process for logging purposes. You can turn this off. For a persistant connection, the second thing that gets sent down it avoids this check.

Do you know what the switch is for turning that off?

It depends on the version of sendmail. If it's not 8.12.5, you will need a local hack; for that, you should look for where the variable "RealHostName" is set in the C sources in sendmail/sendmail/daemon.c.

If it's newer, then there should be an option for your m4 file in sendmail/cf/README (NOT in the book!).

You might also want to play with confTO_IDENT (the 5 second ident timer) and confTO_RESOLVER_RETRY (the resolver timeout).

If you need the local hack, it's pretty rivial, I can walk you through it.

Alternately, you could get the remote side to answer the phone. 8-).

-- Terry

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message