1 # Exim test configuration 2001
6 .include DIR/aux-var/tls_conf_prefix
8 primary_hostname = myhost.test.ex
10 # ----- Main settings -----
12 acl_smtp_rcpt = accept
14 log_selector = +tls_peerdn
19 tls_advertise_hosts = *
21 # Set certificate only if server
23 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
30 # so we can decode in wireshark
31 tls_require_ciphers = NORMAL:-KX-ALL:+RSA
39 condition = ${if eq {SERVER}{server}{no}{yes}}
41 transport = send_to_server
44 # ----- Transports -----
52 hosts_try_fastopen = :
55 tls_certificate = DIR/aux-fixed/cert2
56 tls_privatekey = DIR/aux-fixed/cert2
57 tls_verify_certificates = DIR/aux-fixed/cert2
58 tls_try_verify_hosts =