greetpause default apparently not honored

greetpause default apparently not honored

am 20.01.2007 15:28:10 von Sassa55

Hi,

I have defined in my mc file:

FEATURE(`access_db', `hash -T -o /etc/mail/access')dnl
FEATURE(`greet_pause',`500')dnl
(so the greet_pause feature appears after the "access_db" feature and
should work.)

and in access.db

GreetPause:192.168 0
GreetPause:my-classC#1 0
GreetPause:my-classC#2 0
GreetPause:my-classC#3 0
GreetPause:user1.com 0
GreetPause:user2.com 0

etc.

The problem is that "telnet mymailserver 25"
from an IP-address not listed in access.db delays 45 seconds
before I get the 220 greeting message (the "45 seconds" is very
consistent)
whereas I would like it to be something like .5 seconds
(and eventually increase it to maybe 5 seconds).

Doing a map lookup test with:
sendmail -bt and /map access greetpause:
(actual IP address substituted of course) returns a "NOT FOUND (0)".
So I expected that the default 500 msec (from the "Feature" setting
above) would be used
(Local_greet_pause in sendmail.cf was not changed)

tcpdump shows that there is no network delay.
Sendmail is 8.13.6 on FreeBSD 6.1 on dual Xeon 64-bit.

Any suggestions where the "45 seconds" could be coming from or how to
debug this further?

TIA
Juergen

Re: greetpause default apparently not honored

am 20.01.2007 22:38:47 von Kari Hurtta

"juergen1955" writes in comp.mail.sendmail:

> Any suggestions where the "45 seconds" could be coming from or how to
> debug this further?

DNS lookup, IDENT query