Yuan P Li writes:
No, that does not seem to be the problem. The dns reverse lookup
generally takes 1-2 seconds. But when I try to connect to esmtp,
the client sits at "connecting to server" for at least 1 minute.
I had dupfilter on. But now disabled it and stopped courierfilter as
well. But it is still slow.
It's probably the identd lookup stalling. ESMTP connections have
the server issue an identd query on the sender.
Oh oh. My email server is behind a firewall that does not have
port 113/tcp open.
Is there any way (or any disadvantage) to disable this feature?
Add "-noidentlookup" to TCPDOPTS in $sysconfdir/esmtpd
You will obviously lose any identd information. Sometimes that's
useful in tracking down the source of a particular message.
Thank you very much. It works now. So the problem was our
firewall blocking ident request.