Make $tls_out_ocsp visible to TPDA (mostly testsuite)
[exim.git] / test / confs / 5650
CommitLineData
2b4a568d
JH
1# Exim test configuration 5650
2# OCSP stapling, server
3
4CRL=
5
6exim_path = EXIM_PATH
7host_lookup_order = bydns
8primary_hostname = server1.example.com
9rfc1413_query_timeout = 0s
10spool_directory = DIR/spool
11log_file_path = DIR/spool/log/%slog
12gecos_pattern = ""
13gecos_name = CALLER_NAME
14
15# ----- Main settings -----
16
44662487
JH
17acl_smtp_connect = check_connect
18acl_smtp_mail = check_mail
2b4a568d
JH
19acl_smtp_rcpt = check_recipient
20
21log_selector = +tls_peerdn
22
23queue_only
24queue_run_in_order
25
26tls_advertise_hosts = *
27
28tls_certificate = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem
29tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
30tls_crl = CRL
31tls_ocsp_file = OCSP
32
33#tls_verify_hosts = HOSTIPV4
34#tls_try_verify_hosts = *
35#tls_verify_certificates = DIR/aux-fixed/cert2
36
37
38
39# ------ ACL ------
40
41begin acl
42
44662487 43check_connect:
018058b2
JH
44 accept logwrite = acl_conn: ocsp in status: $tls_in_ocsp \
45 (${listextract {${eval:$tls_in_ocsp+1}} \
46 {notreq:notresp:vfynotdone:failed:verified}})
44662487
JH
47
48check_mail:
018058b2
JH
49 accept logwrite = acl_mail: ocsp in status: $tls_in_ocsp \
50 (${listextract {${eval:$tls_in_ocsp+1}} \
51 {notreq:notresp:vfynotdone:failed:verified}})
44662487 52
2b4a568d
JH
53check_recipient:
54 accept
55
56
57# ----- Routers -----
58
59begin routers
60
61abc:
62 driver = accept
63 retry_use_local_part
64 transport = local_delivery
65
66
67# ----- Transports -----
68
69begin transports
70
71local_delivery:
72 driver = appendfile
73 file = DIR/test-mail/$local_part
74 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
75 user = CALLER
76
77# End