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/exim-ca/example.com/server1.example.com/server1.example.com.pem
24 tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
27 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.org/server2.example.org/ca_chain.pem
35 accept logwrite = Auth ACL called, after smtp cmd "$smtp_command"
38 deny message = authentication required
43 accept add_header = :at_start:${authresults {$primary_hostname}}
45 # ----- Authentication -----
51 server_debug_print = +++TLS \$auth1="$auth1"
52 server_param1 = ${quote:${certextract {subject,CN,>:} \
54 server_condition = ${if def:auth1}
55 server_set_id = $auth1
64 condition = ${if eq {server}{SERVER}}
69 transport = ${if eq {$local_part}{smtps} {t2}{t1}}
72 # ----- Transports -----
80 hosts_try_fastopen = :
82 tls_certificate = DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.pem
83 tls_privatekey = DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.unlocked.key
84 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
85 tls_verify_cert_hostnames = :
91 hosts_try_fastopen = :
94 tls_certificate = DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.pem
95 tls_privatekey = DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.unlocked.key
96 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
97 tls_verify_cert_hostnames = :
101 file = DIR/test-mail/$local_part
102 create_file = DIR/test-mail