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/cert1
25 tls_verify_certificates = DIR/aux-fixed/cert2
33 accept logwrite = Auth ACL called, after smtp cmd "$smtp_command"
36 deny message = authentication required
41 accept add_header = :at_start:${authresults {$primary_hostname}}
43 # ----- Authentication -----
49 public_name = EXTERNAL
51 server_advertise_condition = ${if eq{$tls_in_cipher}{}{no}{yes}}
52 server_param2 = ${certextract {subject,CN} {$tls_in_peercert}}
53 server_condition = ${if eq {$auth2}{$auth1}}
54 server_set_id = $auth1
55 server_debug_print = +++TLS \$auth1="$auth1"
57 client_send = "Phil Pennock"
66 condition = ${if eq {server}{SERVER}}
74 # ----- Transports -----
82 hosts_try_fastopen = :
84 tls_certificate = DIR/aux-fixed/cert2
85 tls_verify_certificates = DIR/aux-fixed/cert1
86 tls_verify_cert_hostnames = :
91 file = DIR/test-mail/$local_part