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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Bill Moseley
Dátum:  
Címzett: exim-users
Tárgy: 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@???