OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
[exim.git] / test / confs / 2138
index d6d7604d8f1871e7517e84c01ac567f4e3882448..c255373b5c0a984bfdcb9623bd80ba4d8b12af9e 100644 (file)
@@ -14,15 +14,12 @@ log_selector = +tls_peerdn+smtp_connection+incoming_port+received_recipients
 
 queue_only
 queue_run_in_order
+remote_max_parallel = 1
 
 smtp_accept_max_nonmail = 0
 
 tls_advertise_hosts = *
-
-# Set certificate only if server
-
-tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
-tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_certificate = DIR/aux-fixed/cert1
 
 
 # ----- Routers -----
@@ -49,16 +46,18 @@ begin transports
 
 local_delivery:
   driver = appendfile
-  file = DIR/test-mail/$local_part
+  file = DIR/test-mail/${bless:$local_part}
   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
   user = CALLER
 
 send_to_server:
-  driver =     smtp
+  driver =             smtp
   allow_localhost
-  hosts_noproxy_tls = :
-  port =       PORT_D
-  tls_try_verify_hosts = :
-  max_rcpt =   1
+  port =               PORT_D
+  hosts_try_fastopen = :
+  hosts_noproxy_tls =  :
+  tls_verify_certificates =    DIR/aux-fixed/cert1
+  tls_verify_cert_hostnames =  :
+  max_rcpt =           1
 
 # End