1 # Exim test configuration 3465
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
13 domainlist local_domains = test.ex
15 log_selector = +smtp_no_mail
19 tls_advertise_hosts = *
20 tls_certificate = DIR/aux-fixed/cert1
22 # ----- Authenticators -----
30 ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
32 client_condition = ${if !eq {$tls_out_cipher}{}}
33 client_send = ^userx^secret1
38 server_prompts = User Name : Password
40 ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}"
41 server_set_id = $auth1
42 client_send = : usery : secret2
54 # ----- Transports -----
63 hosts_try_fastopen = :
64 hosts_avoid_tls = HOSTS_AVOID_TLS
65 tls_verify_certificates = DIR/aux-fixed/cert1
66 tls_verify_cert_hostnames = :
67 hosts_require_auth = *
69 # These can be made visible by adding "-d-all+deliver+transport+tls" to the script 1st queuerun
70 headers_add = X-tls-cipher: <$tls_cipher>
71 headers_add = X-tls-out-cipher: <$tls_out_cipher>