1 # Exim test configuration 4028
7 .include DIR/aux-var/std_conf_prefix
9 primary_hostname = myhost.test.ex
11 # ----- Main settings -----
13 log_selector = +tls_peerdn
14 domainlist local_domains = test.ex : *.test.ex
15 acl_smtp_rcpt = accept
17 tls_advertise_hosts = *
19 # Set certificate only if server
21 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
33 condition = ${if eq {SERVER}{server}{no}{yes}}
34 route_list = * 127.0.0.1
44 # ----- Transports -----
51 socks_proxy = 127.0.0.1 port=1080 OPT
52 tls_certificate = DIR/aux-fixed/cert2
53 tls_privatekey = DIR/aux-fixed/cert2
54 tls_verify_certificates = DIR/aux-fixed/cert2
55 tls_try_verify_hosts = *