1 # Exim test configuration 3451
6 .include DIR/aux-var/tls_conf_prefix
8 primary_hostname = myhost.test.ex
10 # ----- Main settings -----
12 acl_smtp_rcpt = accept
14 log_selector = +tls_peerdn
19 smtp_accept_max_nonmail = 0
21 tls_advertise_hosts = *
23 # Set certificate only if server
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
29 # ----- Authenticators -----
37 ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
39 client_send = ^userx^secret
48 condition = ${if eq {SERVER}{server}{no}{yes}}
50 transport = send_to_server
55 transport = local_delivery
58 # ----- Transports -----
64 file = DIR/test-mail/$local_part
65 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
73 hosts_try_fastopen = :
75 hosts_noproxy_tls = PEX