X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fconfs%2F2100;h=6425f3a0fee021dae33d49469ba09100f93c66cc;hb=6d9b05ae272ca2122b48451c317d601e449af932;hp=dc8ec61acbabea15ad1d87d30692a24352afb9c3;hpb=f926e27276301de1e2fd011b7edcd1b85d8c4754;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/confs/2100 b/test/confs/2100 index dc8ec61ac..6425f3a0f 100644 --- a/test/confs/2100 +++ b/test/confs/2100 @@ -2,14 +2,13 @@ SERVER= -exim_path = EXIM_PATH -host_lookup_order = bydns +.include DIR/aux-var/tls_conf_prefix + primary_hostname = myhost.test.ex -spool_directory = DIR/spool -log_file_path = DIR/spool/log/SERVER%slog -gecos_pattern = "" -gecos_name = CALLER_NAME +.ifdef _HAVE_TLS +# that was purely to trigger the lazy-create of builtin macros +.endif # ----- Main settings ----- acl_smtp_rcpt = accept @@ -21,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 ----- @@ -50,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