1 # Exim test configuration 2030
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
16 remote_max_parallel = 1
18 tls_advertise_hosts = *
20 # Set certificate only if server
22 tls_certificate = ${if eq {SERVER}{server} \
23 {DIR/aux-fixed/${if eq {$tls_in_sni}{bill} \
24 {exim-ca/example.com/server1.example.com/server1.example.com.pem} \
29 tls_privatekey = ${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.unlocked.key} \
43 logwrite = SNI <$tls_in_sni>
51 condition = ${if !eq {SERVER}{server}}
52 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
59 # ----- Transports -----