Testsuite: remove unused acl option from testcase
[exim.git] / test / confs / 5600
CommitLineData
f5d78688
JH
1# Exim test configuration 5600
2# OCSP stapling, server
3
4CRL=
5
6exim_path = EXIM_PATH
7host_lookup_order = bydns
8primary_hostname = server1.example.com
f5d78688
JH
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14# ----- Main settings -----
15
44662487
JH
16acl_smtp_connect = check_connect
17acl_smtp_mail = check_mail
f5d78688
JH
18acl_smtp_rcpt = check_recipient
19
20log_selector = +tls_peerdn
21
22queue_only
23queue_run_in_order
24
25tls_advertise_hosts = *
26
27tls_certificate = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem
28tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
29
30tls_verify_hosts = HOSTIPV4
31tls_try_verify_hosts = *
32tls_verify_certificates = DIR/aux-fixed/cert2
33tls_crl = CRL
34tls_ocsp_file = OCSP
35
36
37# ------ ACL ------
38
39begin acl
40
44662487 41check_connect:
018058b2
JH
42 accept logwrite = acl_conn: ocsp in status: $tls_in_ocsp \
43 (${listextract {${eval:$tls_in_ocsp+1}} \
44 {notreq:notresp:vfynotdone:failed:verified}})
44662487
JH
45
46check_mail:
018058b2
JH
47 accept logwrite = acl_mail: ocsp in status: $tls_in_ocsp \
48 (${listextract {${eval:$tls_in_ocsp+1}} \
49 {notreq:notresp:vfynotdone:failed:verified}})
44662487 50
f5d78688
JH
51check_recipient:
52 deny message = certificate not verified: peerdn=$tls_peerdn
53 ! verify = certificate
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