Fix CVE-2016-1531
[exim.git] / test / confs / 2002
1 # Exim test configuration 2002
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 rfc1413_query_timeout = 0s
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 = 127.0.0.1 : HOSTIPV4
23
24 tls_certificate = DIR/aux-fixed/cert1
25 tls_privatekey = DIR/aux-fixed/cert1
26
27 tls_verify_hosts = HOSTIPV4
28 tls_verify_certificates = DIR/aux-fixed/cert2
29
30
31 # ------ ACL ------
32
33 begin acl
34
35 check_recipient:
36   accept  hosts = :
37   deny    hosts = HOSTIPV4
38          !encrypted = AES256-SHA : \
39                       AES256-GCM-SHA384 : \
40                       IDEA-CBC-MD5 : \
41                       DES-CBC3-SHA : \
42                       DHE_RSA_AES_256_CBC_SHA1 : \
43                       DHE_RSA_3DES_EDE_CBC_SHA : \
44                       RSA_AES_256_CBC_SHA1
45   accept
46
47
48 # ----- Routers -----
49
50 begin routers
51
52 abc:
53   driver = accept
54   retry_use_local_part
55   transport = local_delivery
56   headers_add = tls-certificate-verified: $tls_certificate_verified
57
58
59 # ----- Transports -----
60
61 begin transports
62
63 local_delivery:
64   driver = appendfile
65   file = DIR/test-mail/$local_part
66   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
67   user = CALLER
68
69 # End