Re: [exim] Slow SMTP

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Hill
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Slow SMTP
Hi guys

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

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}}

not sure if I need the "!" in the last set of parentheses? Like so ...

rfc1413_query_timeout = ${if eq{$interface_port}{465}{0}{! 30}}


or (this is a guess) does the "!" mean "anything but" ?

Kind regards

Hill

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Dennis Davis
Sent: 26 February 2007 14:10
To: exim-users@???
Subject: Re: [exim] Slow SMTP

On Mon, 26 Feb 2007, Mike Cardwell wrote:

> From: Mike Cardwell <exim-users@???>
> To: exim-users@???
> Date: Mon, 26 Feb 2007 14:00:08 +0000
> Subject: Re: [exim] Slow SMTP


...

> You can get around this issue if you are correctly doing mail
> submission on port 587, and mail relaying on port 25. Something
> like the below maybe (untested) :
>
> rfc1413_hosts = ${if eq{$interface_port}{25}{*}{! $sender_host_address}}
>
> $interface_port was deprecated recently for another variable
> although I can't remember what it is off the top of my head. See
> documentation.


received_port. I use:

# We'll try and avoid RFC1413 lookups for client connections on
# the MSA and SMTPS ports.  Ideally this would be done by setting
# rfc1413_query_timeout to zero for such connections.  However this
# variable isn't expanded.  So we'll set rfc1413_hosts instead.
rfc1413_hosts = ${if eq{$received_port}{SMTP_PORT} {*}{! *}}
rfc1413_query_timeout = 15s
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@???               Phone: +44 1225 386101


--
## 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/