X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/96eb7d2a5b86afec3b66a61a1ba8af82ab0c6d41..c68dd63514daee71b12bb62c04400dc2f8116d96:/test/confs/3461 diff --git a/test/confs/3461 b/test/confs/3461 index a01a8b20e..b793a4f36 100644 --- a/test/confs/3461 +++ b/test/confs/3461 @@ -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