Re: [exim] Slow SMTP

Pàgina inicial
Delete this message
Reply to this message
Autor: Hill
Data:  
A: exim-users
Assumpte: Re: [exim] Slow SMTP
Hi
thanks again

So just to confirm

In your suggested expansion ...


rfc1413_hosts = ${if eq{$interface_port}{25}{*}{! $sender_host_address}}

the {! $sender_host_address} = { anything except sender address}

Kind regards

Hill


-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Mike Cardwell
Sent: 26 February 2007 15:41
To: exim-users@???
Subject: 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

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/