Re: [exim] Listening interface:port

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: exim-users
Subject: Re: [exim] Listening interface:port
* on the Wed, Jan 03, 2007 at 01:18:25PM +0000, Ian Eiloart wrote:

>> Is it possible to get a single instance of exim listening on two
>> different ports on two different ips? Eg:
>> 111.111.111.111 port 25
>> 222.222.222.222 port 465
> We do this by starting two instances of Exim, with separate configurations
> (using -C in the startup script.


Check out local_interfaces. You can probably push everything into a
single configuration with this option and appropriate usage of
$interface_address or it's new name.

> BTW, while you're here, you should read rfc2476 and also configure Exim to
> listen on port 587 (but require authentication and TLS encryption).


Already works exactly that way thanks. :)

>> I can get both ip's listening on both ports using the config below, but
>> that's not what I want:
>> local_interfaces = 111.111.111.111 : 222.222.222.222
>> daemon_smtp_ports = 25 : 465
>> Also, is it possible to have TLS on connect on 111.111.111.111:2000 but
>> not 222.222.222.222:2000 ? If I use tls_on_connect_ports I can only
>> specify port 2000, so all IPs have to use it.
> Why 2000, and not the standard alternate port 587?


I was just using port 2000 in the example, it's not how I actually have
my systems configured. Anyway, it should be 465 for tls_on_connect, not
587. :)

Mike