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 eq {$tls_in_sni}{bill} \
21 {exim-ca/example.com/server1.example.com/server1.example.com.pem} \
24 tls_privatekey = DIR/aux-fixed/${if eq {$tls_in_sni}{bill} \
25 {exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key} \
34 logwrite = SNI <$tls_in_sni>
42 condition = ${if !eq {SERVER}{server}}
43 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
50 # ----- Transports -----
59 hosts_try_fastopen = :
62 tls_verify_certificates = DIR/aux-fixed/cert1
63 tls_verify_cert_hostnames = :
70 hosts_try_fastopen = :
73 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
74 tls_verify_cert_hostnames = :