DANE/GnuTLS: ignore traditional CA anchor validation in DANE-EE mode
[exim.git] / test / confs / 3700
CommitLineData
b3ef41c9
JH
1# Exim test configuration 3700
2
3SERVER=
4
d4dc049f 5.include DIR/aux-var/tls_conf_prefix
b3ef41c9 6
d4dc049f 7primary_hostname = myhost.test.ex
b3ef41c9
JH
8log_selector = +received_recipients +outgoing_port
9
10# ----- Main settings -----
11
69d8eed7 12acl_smtp_auth = log_call
b3ef41c9
JH
13acl_smtp_mail = check_authd
14acl_smtp_rcpt = check_authd
15queue_only
16queue_run_in_order
17trusted_users = CALLER
18
19tls_on_connect_ports = PORT_S
20tls_advertise_hosts = *
21tls_certificate = DIR/aux-fixed/cert1
22
23tls_verify_hosts = *
24tls_verify_certificates = DIR/aux-fixed/cert2
25
26
27# ----- ACL -----
28
29begin acl
30
69d8eed7
JH
31log_call:
32 accept logwrite = Auth ACL called, after smtp cmd "$smtp_command"
33
b3ef41c9
JH
34check_authd:
35 deny message = authentication required
36 !authenticated = *
37 accept
38
39
40# ----- Authentication -----
41
42begin authenticators
43
44tls:
45 driver = tls
46 server_debug_print = +++TLS \$auth1="$auth1"
47 server_param1 = ${quote:${certextract {subject,CN,>:} \
48 {$tls_in_peercert}}}
49 server_condition = ${if def:auth1}
50 server_set_id = $auth1
51
52
53# ----- Routers -----
54
55begin routers
56
57r1:
58 driver = accept
59 transport = ${if eq {$local_part}{smtps} {t2}{t1}}
60
61
62# ----- Transports -----
63
64begin transports
65
66t1:
67 driver = smtp
68 hosts = 127.0.0.1
69 port = PORT_D
70 allow_localhost
71 tls_certificate = DIR/aux-fixed/cert2
72 tls_verify_certificates = DIR/aux-fixed/cert1
73 tls_verify_cert_hostnames = :
74
75t2:
76 driver = smtp
77 hosts = 127.0.0.1
78 port = PORT_S
79 protocol = smtps
80 allow_localhost
81 tls_certificate = DIR/aux-fixed/cert2
82 tls_verify_certificates = DIR/aux-fixed/cert1
83 tls_verify_cert_hostnames = :
84
85# End