1 # Exim test configuration 2027
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
16 tls_advertise_hosts = *
17 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
18 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
19 tls_try_verify_hosts = 127.0.0.1
20 tls_verify_hosts = HOSTIPV4
21 tls_verify_certificates = DIR/aux-fixed/cert1
29 condition = ${if eq {SERVER}{server}{no}{yes}}
31 transport = send_to_server
36 transport = local_delivery
39 # ----- Transports -----
45 file = DIR/test-mail/${bless:$local_part}
46 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
52 hosts = ${if eq{$local_part}{userx}{127.0.0.1}{HOSTIPV4}}
54 tls_verify_certificates = DIR/aux-fixed/cert1
55 tls_verify_cert_hostnames = :