1 # Exim test configuration 3720
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_advertise_hosts = *
22 tls_certificate = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem
23 tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
26 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.org/server2.example.org/ca_chain.pem
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 public_name = EXTERNAL
52 server_advertise_condition = ${if eq{$tls_in_cipher}{}{no}{yes}}
53 server_param2 = ${certextract {subject,CN} {$tls_in_peercert}}
54 server_condition = ${if eq {$auth2}{$auth1}}
55 server_set_id = $auth1
56 server_debug_print = +++TLS \$auth1="$auth1"
58 client_send = "server2.example.org"
67 condition = ${if eq {server}{SERVER}}
75 # ----- Transports -----
83 hosts_try_fastopen = :
85 tls_certificate = DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.pem
86 tls_privatekey = DIR/aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.unlocked.key
88 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
89 tls_verify_cert_hostnames = :
94 file = DIR/test-mail/$local_part
95 create_file = DIR/test-mail