1 # Exim test configuration 3700
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
8 log_selector = +received_recipients +outgoing_port
10 # ----- Main settings -----
12 acl_smtp_auth = log_call
13 acl_smtp_mail = check_authd
14 acl_smtp_rcpt = check_authd
17 trusted_users = CALLER
19 tls_on_connect_ports = PORT_S
20 tls_advertise_hosts = *
21 tls_certificate = DIR/aux-fixed/cert1
24 tls_verify_certificates = DIR/aux-fixed/cert2
32 accept logwrite = Auth ACL called, after smtp cmd "$smtp_command"
35 deny message = authentication required
40 # ----- Authentication -----
46 server_debug_print = +++TLS \$auth1="$auth1"
47 server_param1 = ${quote:${certextract {subject,CN,>:} \
49 server_condition = ${if def:auth1}
50 server_set_id = $auth1
59 transport = ${if eq {$local_part}{smtps} {t2}{t1}}
62 # ----- Transports -----
71 tls_certificate = DIR/aux-fixed/cert2
72 tls_verify_certificates = DIR/aux-fixed/cert1
73 tls_verify_cert_hostnames = :
81 tls_certificate = DIR/aux-fixed/cert2
82 tls_verify_certificates = DIR/aux-fixed/cert1
83 tls_verify_cert_hostnames = :