On Mon, Jun 29, 2009 at 02:34:38PM -0400, 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!
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} {*}{:}}
--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey
signature.asc
Description: Digital signature
-- ## 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/
