Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

How to offer tls only on certain ports?

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


gordon at dickens

Jun 29, 2009, 11:34 AM

Post #1 of 3 (306 views)
Permalink
How to offer tls only on certain ports?

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/


exim-users-20081202 at djce

Jun 29, 2009, 11:51 AM

Post #2 of 3 (290 views)
Permalink
Re: How to offer tls only on certain ports? [In reply to]

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
Attachments: signature.asc (0.18 KB)


gordon at dickens

Jun 29, 2009, 4:10 PM

Post #3 of 3 (289 views)
Permalink
Re: How to offer tls only on certain ports? [In reply to]

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/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.