X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/bc3c7bb7d4aba3e563434e5627fe1f2176aa18c0..148d9d517265b06fee1ac15047040e3f1789f280:/test/confs/2130?ds=sidebyside diff --git a/test/confs/2130 b/test/confs/2130 index 6040c1fa6..0559bba53 100644 --- a/test/confs/2130 +++ b/test/confs/2130 @@ -3,15 +3,9 @@ SERVER = -exim_path = EXIM_PATH -keep_environment = -host_lookup_order = bydns -primary_hostname = myhost.test.ex -spool_directory = DIR/spool -log_file_path = DIR/spool/log/SERVER%slog -gecos_pattern = "" -gecos_name = CALLER_NAME +.include DIR/aux-var/tls_conf_prefix +primary_hostname = myhost.test.ex # ----- Main settings ----- @@ -22,10 +16,7 @@ log_selector = +tls_peerdn +tls_sni remote_max_parallel = 1 tls_advertise_hosts = * - -# Set certificate only if server - -tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail} +tls_certificate = DIR/aux-fixed/cert1 # ------ ACL ------ @@ -59,15 +50,19 @@ send_to_server1: allow_localhost hosts = HOSTIPV4 port = PORT_D + hosts_try_fastopen = : tls_sni = fred - tls_try_verify_hosts = : + tls_verify_certificates = DIR/aux-fixed/cert1 + tls_verify_cert_hostnames = : send_to_server2: driver = smtp allow_localhost hosts = HOSTIPV4 port = PORT_D - tls_try_verify_hosts = : + hosts_try_fastopen = : + tls_verify_certificates = DIR/aux-fixed/cert1 + tls_verify_cert_hostnames = : # ----- Retry -----