1 # Exim test configuration 2125
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
13 log_selector = +tls_peerdn+tls_certificate_verified
18 tls_advertise_hosts = *
20 tls_require_ciphers = ${if eq{$sender_host_address}{HOSTIPV4}\
23 # Set certificate only if server
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28 .ifdef _OPT_OPENSSL_NO_TLSV1_3_X
29 openssl_options = +no_tlsv1_3
38 condition = ${if eq {SERVER}{server}{no}{yes}}
40 transport = send_to_server
43 # ----- Transports -----
50 hosts = HOSTIPV4 : 127.0.0.1
51 hosts_require_tls = HOSTIPV4
52 tls_require_ciphers = AES128-SHA
54 tls_try_verify_hosts = :