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
>   

-- 
## List details at http://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/

Reply via email to