1 # Exim test configuration 4028
9 host_lookup_order = bydns
10 primary_hostname = myhost.test.ex
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/SERVER%slog
14 gecos_name = CALLER_NAME
16 # ----- Main settings -----
18 log_selector = +tls_peerdn
19 domainlist local_domains = test.ex : *.test.ex
20 acl_smtp_rcpt = accept
22 tls_advertise_hosts = *
24 # Set certificate only if server
26 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
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}
38 condition = ${if eq {SERVER}{server}{no}{yes}}
39 route_list = * 127.0.0.1
49 # ----- Transports -----
56 socks_proxy = 127.0.0.1 port=1080 OPT
57 tls_certificate = DIR/aux-fixed/cert2
58 tls_privatekey = DIR/aux-fixed/cert2
59 tls_verify_certificates = DIR/aux-fixed/cert2
60 tls_try_verify_hosts = *