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
21 tls_privatekey = DIR/aux-fixed/cert1
24 # ----- Authenticators -----
32 ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
34 client_condition = ${if !eq {$tls_out_cipher}{}}
35 client_send = ^userx^secret1
40 server_prompts = User Name : Password
42 ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}"
43 server_set_id = $auth1
44 client_send = : usery : secret2
56 # ----- Transports -----
64 hosts_try_fastopen = :
65 hosts_avoid_tls = HOSTS_AVOID_TLS
66 tls_try_verify_hosts = :
67 hosts_require_auth = *
70 # These can be made visible by adding "-d-all+deliver+transport+tls" to the script 1st queuerun
71 headers_add = X-tls-cipher: <$tls_cipher>
72 headers_add = X-tls-out-cipher: <$tls_out_cipher>