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