Re: [exim] do not advertise starttls on specified ports

Top Page
Delete this message
Reply to this message
Author: Barker, Adrian
Date:  
To: PRAJITH, krzf83@gmail.com
CC: exim-users@exim.org
Subject: Re: [exim] do not advertise starttls on specified ports
Hi,

You can selectively advertise TLS using a condition. We only advertise tls on ports 465 and 587, so use:
tls_advertise_hosts = ${if = {25}{$interface_port}{}{*}}



Adrian Barker,
Web Technologies,
University College London.



-----Original Message-----
From: exim-users-bounces+a.barker=ucl.ac.uk@??? [mailto:exim-users-bounces+a.barker=ucl.ac.uk@exim.org] On Behalf Of PRAJITH
Sent: 30 April 2015 15:14
To: krzf83@???
Cc: exim-users@???
Subject: Re: [exim] do not advertise starttls on specified ports

you could use "tls_on_connect_ports" directive.

EX:
tls_on_connect_ports = 465 : 587

On Thu, Apr 30, 2015 at 6:21 PM, krzf83@??? <krzf83@???> wrote:

> I want exim to not advertise stattls on all ports except port 25. How
> can I do it? Using tls_advertise_hosts I can only specify hosts to
> advertise/not advertise starttls. How do it for ports? Currently my
> exim advertises starttls on all ports.
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/ ## Please use the Wiki with
> this list - http://wiki.exim.org/
>

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