Fix CVE-2016-1531
[exim.git] / test / confs / 2104
1 # Exim test configuration 2104
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 hostlist tls_hosts = 127.0.0.1
17
18 queue_only
19 queue_run_in_order
20
21 tls_certificate = DIR/aux-fixed/cert1
22 tls_privatekey = DIR/aux-fixed/cert1
23
24 tls_advertise_hosts = 127.0.0.1 : HOSTIPV4
25
26 # ----- ACL -----
27
28 begin acl
29
30 check_recipient:
31   deny    hosts = +tls_hosts
32           message = encryption required
33          !encrypted = *
34   accept
35
36
37 # ----- Routers -----
38
39 begin routers
40
41 abc:
42   driver = accept
43   retry_use_local_part
44   transport = local_delivery
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 local_delivery:
52   driver = appendfile
53   file = DIR/test-mail/$local_part
54   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
55   user = CALLER
56
57 # End