1 # Exim test configuration 1148
3 .include DIR/aux-var/tls_conf_prefix
5 primary_hostname = myhost.test.ex
7 # ----- Main settings -----
10 tls_on_connect_ports = SUB
13 tls_advertise_hosts = *
14 tls_certificate = DIR/aux-fixed/cert1
15 tls_privatekey = DIR/aux-fixed/cert1
20 acl_smtp_atrn = check_atrn
27 warn set acl_m0 = clientdom.net
28 logwrite = tls_in_cipher $tls_in_cipher
29 defer !atrn_domains = <, $acl_m0
30 message = 453 You have no mail
40 server_advertise_condition = ${if def:tls_in_cipher}
42 ${if and {{eq{$auth2}{userx}}{eq{$auth3}{secret}}}{yes}{no}}"
43 server_set_id = $auth2
45 # -------- routers ---
51 route_data = <;$atrn_host
53 transport = client_smtp
61 tls_verify_certificates = DIR/aux-fixed/cert1
62 tls_verify_cert_hostnames = :