Fix smtp transport certificate-verification option matching to use correct host
[users/heiko/exim.git] / test / confs / 5450
index dd42a3fb1994768e2bbb6df38cd34dcc949d8da1..953b4742390a9b44055afd756492ded746976307 100644 (file)
@@ -88,6 +88,12 @@ client_s:
   retry_use_local_part
   transport = send_to_server_req_passname
 
+client_t:
+  driver = accept
+  local_parts = usert
+  retry_use_local_part
+  transport = send_to_server_req_failcarryon
+
 
 # ----- Transports -----
 
@@ -172,4 +178,16 @@ send_to_server_req_passname:
   tls_verify_cert_hostnames = *
   tls_verify_hosts = *
 
+send_to_server_req_failcarryon:
+  driver = smtp
+  allow_localhost
+  hosts = HOSTNAME
+  port = PORT_D
+  tls_certificate = CERT2
+  tls_privatekey = CERT2
+
+  tls_verify_certificates = CA1
+  tls_verify_cert_hostnames = *
+  tls_try_verify_hosts = *
+
 # End