1 # Exim test configuration 2031
6 .include DIR/aux-var/tls_conf_prefix
8 primary_hostname = myhost.test.ex
10 # ----- Main settings -----
12 domainlist local_domains = test.ex : *.test.ex
14 acl_smtp_rcpt = acl_log_sni
15 log_selector = +tls_peerdn +tls_sni +received_recipients
16 remote_max_parallel = 1
18 tls_advertise_hosts = *
20 tls_certificate = DIR/aux-fixed/${if inlist {$tls_in_sni}{ : normal : badkey : noneistkeyfile : expansionfailkey} \
22 {${if eq {$tls_in_sni}{alternate} \
23 {exim-ca/example.com/server1.example.com/server1.example.com.pem} \
24 {${if eq {$tls_in_sni}{badcert} \
25 {exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key} \
26 {${if eq {$tls_in_sni}{nonexistcertfile} \
34 tls_privatekey = DIR/aux-fixed/${if inlist {$tls_in_sni}{ : normal : badcert : nonexistcertfile : expansionfailedcert} \
36 {${if eq {$tls_in_sni}{alternate} \
37 {exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key} \
38 {${if eq {$tls_in_sni}{badkey} \
40 {${if eq {$tls_in_sni}{noneistkeyfile} \
55 logwrite = SNI <$tls_in_sni>
63 condition = ${if !eq {SERVER}{server}}
64 transport = send_to_server
71 # ----- Transports -----
80 hosts_try_fastopen = :
82 tls_sni = ${local_part}