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
15 acl_smtp_data = ar_header
19 trusted_users = CALLER
21 tls_on_connect_ports = PORT_S
22 tls_advertise_hosts = *
23 tls_certificate = DIR/aux-fixed/cert1
26 tls_verify_certificates = DIR/aux-fixed/cert2
34 accept logwrite = Auth ACL called, after smtp cmd "$smtp_command"
37 deny message = authentication required
42 accept add_header = :at_start:${authresults {$primary_hostname}}
44 # ----- Authentication -----
50 server_debug_print = +++TLS \$auth1="$auth1"
51 server_param1 = ${quote:${certextract {subject,CN,>:} \
53 server_condition = ${if def:auth1}
54 server_set_id = $auth1
63 condition = ${if eq {server}{SERVER}}
68 transport = ${if eq {$local_part}{smtps} {t2}{t1}}
71 # ----- Transports -----
79 hosts_try_fastopen = :
81 tls_certificate = DIR/aux-fixed/cert2
82 tls_verify_certificates = DIR/aux-fixed/cert1
83 tls_verify_cert_hostnames = :
89 hosts_try_fastopen = :
92 tls_certificate = DIR/aux-fixed/cert2
93 tls_verify_certificates = DIR/aux-fixed/cert1
94 tls_verify_cert_hostnames = :
98 file = DIR/test-mail/$local_part