Pass on SIZE to cutthrough connection
[users/jgh/exim.git] / test / confs / 2114
1 # Exim test configuration 2114
2
3 CRL=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = check_recipient
16
17 log_selector = +tls_peerdn
18
19 queue_only
20 queue_run_in_order
21
22 tls_advertise_hosts = *
23
24 tls_certificate = DIR/aux-fixed/cert1
25 tls_privatekey = DIR/aux-fixed/cert1
26
27 tls_verify_hosts = HOSTIPV4
28 tls_try_verify_hosts = *
29 tls_verify_certificates = DIR/aux-fixed/cert2
30 tls_crl = CRL
31
32
33 # ------ ACL ------
34
35 begin acl
36
37 check_recipient:
38   deny     message = certificate not verified: peerdn=$tls_in_peerdn
39          ! verify = certificate
40   accept
41
42
43 # ----- Routers -----
44
45 begin routers
46
47 abc:
48   driver = accept
49   retry_use_local_part
50   transport = local_delivery
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 local_delivery:
58   driver = appendfile
59   file = DIR/test-mail/$local_part
60   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_in_peerdn
61   user = CALLER
62
63 # End