1 # Exim test configuration 2131
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_name = CALLER_NAME
15 # ----- Main settings -----
17 domainlist local_domains = test.ex : *.test.ex
19 acl_smtp_rcpt = acl_log_sni
20 log_selector = +tls_peerdn +tls_sni
21 remote_max_parallel = 1
23 tls_advertise_hosts = *
25 # Set certificate only if server
27 tls_certificate = ${if eq {SERVER}{server} \
28 {DIR/aux-fixed/${if eq {$tls_in_sni}{bill} \
29 {exim-ca/example.com/server1.example.com/server1.example.com.pem} \
34 tls_privatekey = ${if eq {SERVER}{server} \
35 {DIR/aux-fixed/${if eq {$tls_in_sni}{bill} \
36 {exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key} \
48 logwrite = SNI <$tls_in_sni>
56 condition = ${if !eq {SERVER}{server}}
57 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
64 # ----- Transports -----
75 tls_try_verify_hosts = :
84 tls_try_verify_hosts = :