X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/a08c49f10dbed682e0500e6510c78bd65002fc34..dc4ab0a186edc8b270c8fa486104fabc567d25e7:/test/confs/2130 diff --git a/test/confs/2130 b/test/confs/2130 index 6354b7cc3..0559bba53 100644 --- a/test/confs/2130 +++ b/test/confs/2130 @@ -3,14 +3,9 @@ SERVER = -exim_path = EXIM_PATH -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 ----- @@ -21,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 ------ @@ -58,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 -----