Re: [Exim] Exim - Connection is slow to initiate

Top Page
Delete this message
Reply to this message
Author: Nigel Metheringham
Date:  
To: exim-users
Subject: Re: [Exim] Exim - Connection is slow to initiate
On Wed, 2004-05-12 at 15:44, John Reddin wrote:
> Hello,
>    Currently we have two servers running OpenBsd 3.1, and Exim v3.34.


<canned response>
Exim versions prior to 4.x are seriously out of date and should be
considered obsolete. Most of the people on the exim mailing lists can
no longer remember the details of exim v3 and earlier any longer.
</canned response>

> We
> have a web server that is trying to send an E-mail (confirmation of
> registration) via either of these servers. The mail is delivered, but it
> takes up to 30 seconds to leave the web server (a long time for the user to
> wait). When I telnet to either server on port 25, it takes up to 30 seconds
> for the banner to be displayed.


This is either:-
     1. Exim is doing a reverse DNS lookup on the connecting IP address
        and failing.  Check the host_lookup option.  DNS lookups may
        also be force by having hostnames in host lists that restrict
        connection/relaying etc.  Check this by doing "dig -x i.p.a.d"
        on the exim box - you may wish to fix any DNS problems seen.
     2. Exim is doing an ident lookup which is being blocked or
        otherwise timing out.  Check the setting of
        rfc1413_query_timemout and maybe set it to zero.




> If I use another protocol (ssh etc.) the
> connection is almost instantaneous.


That tends to point away from the DNS answer.

    Nigel.


--
[ Nigel Metheringham           Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]