1 # Exim test configuration 2111
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
12 log_selector = +tls_peerdn
16 tls_advertise_hosts = *
18 # Set certificate only if server
20 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
21 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
26 .ifdef _OPT_OPENSSL_NO_TLSV1_3_X
27 openssl_options = +no_tlsv1_3
36 condition = ${if eq {SERVER}{server}{no}{yes}}
38 transport = send_to_server
41 # ----- Transports -----
48 hosts = HOSTIPV4 : 127.0.0.1
50 hosts_try_fastopen = :
51 hosts_require_tls = HOSTIPV4
52 tls_certificate = DIR/aux-fixed/cert2
53 tls_privatekey = DIR/aux-fixed/cert2
54 tls_require_ciphers = IDEA-CBC-MD5:\
55 ${if eq{$host_address}{127.0.0.1}{:AES256-SHA:RSA_ARCFOUR_SHA}}