Fix CVE-2016-1531
[exim.git] / test / confs / 0028
CommitLineData
afda344b
PH
1# Exim test configuration 0028
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15domainlist local_domains = test.ex
16
17acl_smtp_rcpt = acl_rcpt
18acl_smtp_data = acl_data
19
20
21# ------ ACLs ------
22
23begin acl
24
25acl_rcpt:
26 accept endpass
27 message = SIZE value too big
28 condition = ${if > {$message_size}{10}{no}{yes}}
29
30acl_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
38begin routers
39
40r1:
41 driver = dnslookup
42 domains = ! +local_domains
43 transport = dev_null
44 no_more
45
46r2:
47 driver = accept
48 local_parts = userx : postmaster
49 transport = local_delivery
50
51
52# ------ Transports ------
53
54begin transports
55
56dev_null:
57 driver = appendfile
58 file = /dev/null
59 user = CALLER
60
61local_delivery:
62 driver = appendfile
63 file = DIR/test-mail/$local_part
64 user = CALLER
65
66# End