On Mon, 26 Feb 2007, Mike Cardwell wrote:

> From: Mike Cardwell <[EMAIL PROTECTED]>
> To: [email protected]
> 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
[EMAIL PROTECTED]               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/

Reply via email to