1 # Exim test configuration 2131
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_${if inlist {$local_part}{normal} {1}{2}}
71 # ----- Transports -----
80 hosts_try_fastopen = :
82 tls_sni = ${local_part}
83 tls_verify_certificates = DIR/aux-fixed/cert1
84 tls_verify_cert_hostnames = :
91 hosts_try_fastopen = :
93 tls_sni = ${local_part}
94 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
95 tls_verify_cert_hostnames = :