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