Re: [exim] Faking TLS session for testing with -bh

Pàgina inicial
Delete this message
Reply to this message
Autor: Bill Moseley
Data:  
A: exim-users
Assumpte: Re: [exim] Faking TLS session for testing with -bh
On Wed, Dec 06, 2006 at 02:58:53PM -0800, Bill Moseley wrote:
> I'm using this so that STARTTLS is only advertised on secure
> connections.
>
>     auth_advertise_hosts = ${if eq{$tls_cipher}{}{}{*}}


Well, if I only want a way to test authorized I suppose I could do
this:

.ifdef TEST_MODE
    auth_advertise_hosts = *
.else
    auth_advertise_hosts = ${if eq{$tls_cipher}{}{}{*}}
.endif



And use exim -DTEST_MODE

--
Bill Moseley
moseley@???