1 # Exim test configuration 3462
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
13 log_selector = +tls_peerdn
18 tls_advertise_hosts = *
20 # Set certificate only if server
22 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 # ----- Authenticators -----
33 server_prompts = Username : Password
35 ${if and {{eq{$1}{userx}}{eq{$2}{secret}}}{yes}{no}}"
37 client_send = : userx : secret
46 condition = ${if eq {SERVER}{server}{no}{yes}}
48 transport = send_to_server
53 transport = local_delivery
56 # ----- Transports -----
62 file = DIR/test-mail/$local_part
63 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
72 tls_try_verify_hosts = :