X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d4dc049f9a9e80ac3a470fd644418668eefedecb..235ef8b383017dcadeaba957b271c052cac220a5:/test/confs/2100 diff --git a/test/confs/2100 b/test/confs/2100 index f61091683..6425f3a0f 100644 --- a/test/confs/2100 +++ b/test/confs/2100 @@ -6,6 +6,9 @@ SERVER= primary_hostname = myhost.test.ex +.ifdef _HAVE_TLS +# that was purely to trigger the lazy-create of builtin macros +.endif # ----- Main settings ----- acl_smtp_rcpt = accept @@ -17,13 +20,10 @@ queue_run_in_order 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 tls_verify_hosts = * -tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail} +tls_verify_certificates = DIR/aux-fixed/cert2 # ----- Routers ----- @@ -46,6 +46,7 @@ send_to_server: allow_localhost hosts = 127.0.0.1 port = PORT_D + hosts_try_fastopen = : tls_certificate = DIR/aux-fixed/cert2 tls_privatekey = DIR/aux-fixed/cert2 tls_verify_certificates = DIR/aux-fixed/cert2