X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/f926e27276301de1e2fd011b7edcd1b85d8c4754..46694b802ce0302f3c3344be933cc9737d4d4f4c:/test/confs/2130?ds=sidebyside 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 -----