Re: [exim] Slow SMTP

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Mike Cardwell
Data:  
Para: exim-users
Asunto: Re: [exim] Slow SMTP
* on the Mon, Feb 26, 2007 at 03:26:45PM -0000, Hill wrote:

> This is interesting stuff
> I do indeed use a different port for my SSL connections but not 587
> I use 465 which I was reliably informed on this list is the (now) generally
> accepted port for SSMTP


That's right. It is non-standard, but it is commonly used and will be
with us for a while. 587 is the standard port however.

> So I could use something like the config below. However, correct me if I am
> wrong does this config not set the addresses for which the check WILL be
> performed i.e. wouldn't the if statement still cause the delay
>
> Would it not be better to have something like
>
> rfc1413_query_timeout = ${if eq{$interface_port}{465}{0}{30}}


I don't think that would work. rfc1413_query_timeout doesn't appear to
be expandable. it needs to be a hardcoded figure. That's why I chose
rfc1413_hosts which is expandable and which is a list of hosts to
perform the lookups on. The config I provided basically said: If the
connection comes in on port 25, do the lookup, otherwise don't.

> not sure if I need the "!" in the last set of parentheses? Like so ...
>
> rfc1413_query_timeout = ${if eq{$interface_port}{465}{0}{! 30}}


Nope. rfc1413_query_timeout takes a number "! 30" is a condition.

Mike