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 = *
19 tls_certificate = DIR/aux-fixed/cert1
22 # ----- Authenticators -----
29 server_prompts = Username : Password
31 ${if and {{eq{$1}{userx}}{eq{$2}{secret}}}{yes}{no}}"
33 client_send = : userx : secret
42 condition = ${if eq {SERVER}{server}{no}{yes}}
44 transport = send_to_server
49 transport = local_delivery
52 # ----- Transports -----
58 file = DIR/test-mail/$local_part
59 create_file = DIR/test-mail
60 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
68 hosts_try_fastopen = :
70 tls_verify_certificates = DIR/aux-fixed/cert1
71 tls_verify_cert_hostnames = :