Add testcase for TLSA record access
[exim.git] / test / confs / 5850
CommitLineData
12ee8cf9
JH
1# Exim test configuration 5850
2# DANE
3
4SERVER=
5
6exim_path = EXIM_PATH
7host_lookup_order = bydns
8primary_hostname = myhost.test.ex
9rfc1413_query_timeout = 0s
10spool_directory = DIR/spool
11log_file_path = DIR/spool/log/SERVER%slog
12gecos_pattern = ""
13gecos_name = CALLER_NAME
14
15# ----- Main settings -----
16
17acl_smtp_rcpt = accept
18
e5cccda9 19log_selector = +received_recipients +tls_peerdn +tls_certificate_verified
12ee8cf9
JH
20
21queue_only
22queue_run_in_order
23
24tls_advertise_hosts = *
25
26# Set certificate only if server
82525c6f
JH
27CDIR1 = DIR/aux-fixed
28CDIR2 = DIR/aux-fixed/exim-ca/example.com/server1.example.com
12ee8cf9 29
82525c6f
JH
30tls_certificate = ${if eq {SERVER}{server} \
31 {${if eq {DETAILS}{ta} \
32 {CDIR2/fullchain.pem}\
33 {CDIR1/cert1}}}\
34 fail}
35
36tls_privatekey = ${if eq {SERVER}{server} \
37 {${if eq {DETAILS}{ta} \
38 {CDIR2/server1.example.com.unlocked.key}\
39 {CDIR1/cert1}}}\
40 fail}
12ee8cf9
JH
41
42
43# ----- Routers -----
44
45begin routers
46
47client:
cf2b569e 48 driver = dnslookup
82525c6f 49 condition = ${if eq {SERVER}{}}
cf2b569e
JH
50 dnssec_request_domains = *
51 self = send
12ee8cf9
JH
52 transport = send_to_server
53
54server:
55 driver = redirect
56 data = :blackhole:
57
58
59# ----- Transports -----
60
61begin transports
62
63send_to_server:
64 driver = smtp
65 allow_localhost
12ee8cf9 66 port = PORT_D
12ee8cf9 67
7a31d643
JH
68# hosts_try_dane = *
69 hosts_require_dane = *
70
12ee8cf9
JH
71
72# ----- Retry -----
73
74
75begin retry
76
77* * F,5d,10s
78
79
80# End