Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / confs / 3461
index a01a8b20e78f745f8fb7051bd990e27392121abe..b793a4f36aeb9f9e83161217672c1ccc89c03352 100644 (file)
@@ -19,11 +19,7 @@ queue_run_in_order
 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
 
 
 # ----- Authenticators -----
@@ -62,6 +58,7 @@ begin transports
 local_delivery:
   driver = appendfile
   file = DIR/test-mail/$local_part
+  create_file = DIR/test-mail
   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
   user = CALLER
 
@@ -69,9 +66,11 @@ send_to_server:
   driver = smtp
   allow_localhost
   hosts = 127.0.0.1
+  port = PORT_D
+  hosts_try_fastopen = :
   hosts_try_auth = *
   hosts_noproxy_tls = PEX
-  port = PORT_D
-  tls_try_verify_hosts = :
+  tls_verify_certificates =    DIR/aux-fixed/cert1
+  tls_verify_cert_hostnames =  :
 
 # End