1 # Exim test configuration 2130
8 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 rfc1413_query_timeout = 0s
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/SERVER%slog
14 gecos_name = CALLER_NAME
17 # ----- Main settings -----
19 domainlist local_domains = test.ex : *.test.ex
21 acl_smtp_rcpt = acl_log_sni
22 log_selector = +tls_peerdn +tls_sni
23 remote_max_parallel = 1
25 tls_advertise_hosts = *
27 # Set certificate only if server
29 tls_certificate = ${if eq {SERVER}{server} \
30 {DIR/aux-fixed/${if eq {$tls_in_sni}{bill} \
31 {exim-ca/example.com/server1.example.com/server1.example.com.pem} \
36 tls_privatekey = ${if eq {SERVER}{server} \
37 {DIR/aux-fixed/${if eq {$tls_in_sni}{bill} \
38 {exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key} \
50 logwrite = SNI <$tls_in_sni>
58 condition = ${if !eq {SERVER}{server}}
59 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
66 # ----- Transports -----