Re: [exim] How to offer tls only on certain ports?

Top Pagina
Delete this message
Reply to this message
Auteur: Gordon Dickens
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] How to offer tls only on certain ports?
Ahh.... Brilliant!

Thanks Dave.

Gordon



Dave Evans wrote:
> tls_advertise_hosts is a host list - no port numbers. If you want to
> make it
> port-specific, use an expansion based on $received_port. e.g.
>
> tls_advertise_hosts = ${if eq{$received_port}{587} {*}{:}}


Gordon Dickens wrote:
>    How can I setup exim to only offer tls on certain ports?  For example,
>    if I only want to offer tls on ports 25 and 587 for all hosts then I
>    thought that I could set tls_advertise_hosts as follows:
>        tls_advertise_hosts = 0.0.0.0.25 : 0.0.0.0..587
>    However, it does not appear to work. Any help would be appreciated!
>    Thanks,
>    Gordon

>