1 # Exim test configuration 2100
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
10 # that was purely to trigger the lazy-create of builtin macros
12 # ----- Main settings -----
14 acl_smtp_rcpt = accept
16 log_selector = +tls_peerdn
21 tls_advertise_hosts = *
23 # Set certificate only if server
25 #tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_certificate = DIR/aux-fixed/cert1
27 #tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 #tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
31 tls_verify_certificates = DIR/aux-fixed/cert2
40 condition = ${if eq {SERVER}{server}{no}{yes}}
42 transport = send_to_server
45 # ----- Transports -----
54 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 = :