Fix handling of $tls_cipher et.al. in (non-verify) transport. Bug 1455
[exim.git] / test / confs / 3465
index adadeb0591f66b0a99cecca66147f5b435dfa811..83592a678c3a6ebd663fe581fa3c69ea98dbba68 100644 (file)
@@ -36,7 +36,7 @@ plain:
   server_condition = "\
     ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
   server_set_id = $2
-  client_condition = ${if !eq {$tls_cipher}{}}
+  client_condition = ${if !eq {$tls_out_cipher}{}}
   client_send = ^userx^secret1
 
 login:
@@ -70,5 +70,9 @@ t1:
   hosts_require_auth = *
   allow_localhost
 
+  # These can be made visible by adding "-d-all+deliver+transport+tls" to the script 1st queuerun
+  headers_add = X-tls-cipher: <$tls_cipher>
+  headers_add = X-tls-out-cipher: <$tls_out_cipher>
+
 
 # End