1 # Exim test configuration 5800
6 .include DIR/aux-var/std_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 = *
20 # needed to force generation
21 tls_dhparam = historic
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}
29 #tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
38 condition = ${if eq {SERVER}{server}{no}{yes}}
40 transport = send_to_server
47 # ----- Transports -----
56 # tls_certificate = DIR/aux-fixed/cert2
57 # tls_privatekey = DIR/aux-fixed/cert2
58 # tls_verify_certificates = DIR/aux-fixed/cert2