Cutthrough: expand transport dkim_domain option when testing for dkim signing
[exim.git] / test / confs / 5600
CommitLineData
f5d78688
JH
1# Exim test configuration 5600
2# OCSP stapling, server
3
4CRL=
5
6exim_path = EXIM_PATH
bc3c7bb7 7keep_environment =
f5d78688
JH
8host_lookup_order = bydns
9primary_hostname = server1.example.com
f5d78688
JH
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
f5d78688
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
30
31tls_verify_hosts = HOSTIPV4
32tls_try_verify_hosts = *
33tls_verify_certificates = DIR/aux-fixed/cert2
34tls_crl = CRL
35tls_ocsp_file = OCSP
36
37
38# ------ ACL ------
39
40begin acl
41
44662487 42check_connect:
018058b2
JH
43 accept logwrite = acl_conn: ocsp in status: $tls_in_ocsp \
44 (${listextract {${eval:$tls_in_ocsp+1}} \
45 {notreq:notresp:vfynotdone:failed:verified}})
44662487
JH
46
47check_mail:
018058b2
JH
48 accept logwrite = acl_mail: ocsp in status: $tls_in_ocsp \
49 (${listextract {${eval:$tls_in_ocsp+1}} \
50 {notreq:notresp:vfynotdone:failed:verified}})
44662487 51
f5d78688
JH
52check_recipient:
53 deny message = certificate not verified: peerdn=$tls_peerdn
54 ! verify = certificate
55 accept
56
57
58# ----- Routers -----
59
60begin routers
61
62abc:
63 driver = accept
64 retry_use_local_part
65 transport = local_delivery
66
67
68# ----- Transports -----
69
70begin transports
71
72local_delivery:
73 driver = appendfile
74 file = DIR/test-mail/$local_part
75 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
76 user = CALLER
77
78# End