🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3598

Re: "startup" of smtp connection timeout

#3598
From: Jeremy Fitz
Date: Wed, 12 Feb 2003 19:28
41 lines
2818 bytes
Neil:

Is the gethostbyaddr executed via a reverse DNS lookup?
- what is done with the result?
- what happens if the reverse lookup doesn't return anything (isn't
populated for my host), or returns the incorrect result?
- could this account for delayed or non-successful "startup"?

How is a "forged" address detected via the gethostbyname() call?

Your help is appreciated.

J


"Neil W Rickert" <rickert+nn@cs.niu.edu> wrote in message
news:b2cj6d$n2c$1@husk.cso.niu.edu...
> "Jeremy Fitz" <jeremyfitz@hotmail.com> writes:
>
> >In order to debug this problem, I'd like to understand what sendmail is
> >doing during "startup".
>
> Basically, it is doing:
>
>   gethostbyaddr(ip-address) lookup the hostname
>   gethostbyname(hostname) cross check hostname to see if forged
>   identd callback
>   run the check_relay ruleset
>
> The identd callback should take no longer than 30 seconds on
sendmail-8.9.3
> or earlier, and 5 seconds on 8.10.0 and later.
>
> The most likely problems are DNS lookup delays for gethostbyaddr()
> or the subsequent gethostbyname(), or DNS lookups done in
> the check_relay ruleset (mostly dnsbl lookups).
>
> Maybe there can be a delay if your aliases map needs rebuilding.
> Run "newaliases" just in case this is the problem.  >doing during
> "startup".  Can anyone point me to information on this topic -
>
Technical Details
Message-ID: <Afx2a.657729$F2h1.167789@news01.bloor.is.net.cable.rogers.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news03.bloor.is.net.cable.rogers.com!news01.bloor.is.net.cable.rogers.com.POSTED!not-for-mail
References: <Noj2a.330858$pDv.239830@news04.bloor.is.net.cable.rogers.com> <b2cj6d$n2c$1@husk.cso.niu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103334,f0a437c1cf624342
X-Google-Attributes: gid103334,public
X-Google-Thread: 115632,f0a437c1cf624342
X-Google-Attributes: gid115632,public
X-Google-Thread: 10de99,f0a437c1cf624342
X-Google-Attributes: gid10de99,public
X-Google-Thread: 109af8,f0a437c1cf624342
X-Google-Attributes: gid109af8,public
X-Google-ArrivalTime: 2003-02-12 11:28:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news03.bloor.is.net.cable.rogers.com!news01.bloor.is.net.cable.rogers.com.POSTED!not-for-mail
From: "Jeremy Fitz" <jeremyfitz@hotmail.com>
Newsgroups: comp.mail.sendmail,cz.comp.mail.sendmail,microsoft.public.exchange.connectivity,microsoft.public.isa.configuration
References: <Noj2a.330858$pDv.239830@news04.bloor.is.net.cable.rogers.com> <b2cj6d$n2c$1@husk.cso.niu.edu>
Subject: Re: "startup" of smtp connection timeout
Lines: 43
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <Afx2a.657729$F2h1.167789@news01.bloor.is.net.cable.rogers.com>
Date: Wed, 12 Feb 2003 19:28:32 GMT
NNTP-Posting-Host: 24.42.47.186
X-Complaints-To: abuse@rogers.com
X-Trace: news01.bloor.is.net.cable.rogers.com 1045078112 24.42.47.186 (Wed, 12 Feb 2003 14:28:32 EST)
NNTP-Posting-Date: Wed, 12 Feb 2003 14:28:32 EST