Fix CVE-2016-1531
[exim.git] / test / confs / 0028
1 # Exim test configuration 0028
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 domainlist local_domains = test.ex
16
17 acl_smtp_rcpt = acl_rcpt
18 acl_smtp_data = acl_data
19
20
21 # ------ ACLs ------
22
23 begin acl
24
25 acl_rcpt:
26   accept endpass
27          message = SIZE value too big
28          condition = ${if > {$message_size}{10}{no}{yes}}
29
30 acl_data:
31   accept endpass
32          message = message too big - \$recipients=$recipients ($recipients_count)
33          condition = ${if > {$message_size}{10}{no}{yes}}
34
35
36 # ------ Routers ------
37
38 begin routers
39
40 r1:
41   driver = dnslookup
42   domains = ! +local_domains
43   transport = dev_null
44   no_more
45
46 r2:
47   driver = accept
48   local_parts = userx : postmaster
49   transport = local_delivery
50
51
52 # ------ Transports ------
53
54 begin transports
55
56 dev_null:
57   driver = appendfile
58   file = /dev/null
59   user = CALLER
60
61 local_delivery:
62   driver = appendfile
63   file = DIR/test-mail/$local_part
64   user = CALLER
65
66 # End