Logging: support +outgoing_port on defer lines and per-host error lines
[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
2b4a568d
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
2b4a568d
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
29tls_crl = CRL
30tls_ocsp_file = OCSP
31
32#tls_verify_hosts = HOSTIPV4
33#tls_try_verify_hosts = *
34#tls_verify_certificates = DIR/aux-fixed/cert2
35
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
2b4a568d
JH
52check_recipient:
53 accept
54
55
56# ----- Routers -----
57
58begin routers
59
60abc:
61 driver = accept
62 retry_use_local_part
63 transport = local_delivery
64
65
66# ----- Transports -----
67
68begin transports
69
70local_delivery:
71 driver = appendfile
72 file = DIR/test-mail/$local_part
73 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
74 user = CALLER
75
76# End