1 # Exim test configuration 2011
10 host_lookup_order = bydns
11 primary_hostname = myhost.test.ex
12 rfc1413_query_timeout = 0s
13 spool_directory = DIR/spool
14 log_file_path = DIR/spool/log/SERVER%slog
16 gecos_name = CALLER_NAME
18 # ----- Main settings -----
20 acl_smtp_rcpt = accept
21 log_selector = +tls_peerdn
25 tls_advertise_hosts = *
27 # Set certificate only if server
29 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
33 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
45 condition = ${if eq {SERVER}{server}{no}{yes}}
47 transport = send_to_server
50 # ----- Transports -----
57 hosts = HOSTIPV4 : 127.0.0.1
58 hosts_require_tls = HOSTIPV4
60 tls_certificate = DIR/aux-fixed/cert2
61 tls_privatekey = DIR/aux-fixed/cert2