Testsuite: bounce_message_file and warn_message_file
[exim.git] / test / confs / 0028
CommitLineData
afda344b
PH
1# Exim test configuration 0028
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9domainlist local_domains = test.ex
10
11acl_smtp_rcpt = acl_rcpt
12acl_smtp_data = acl_data
13
14
15# ------ ACLs ------
16
17begin acl
18
19acl_rcpt:
20 accept endpass
21 message = SIZE value too big
22 condition = ${if > {$message_size}{10}{no}{yes}}
23
24acl_data:
25 accept endpass
26 message = message too big - \$recipients=$recipients ($recipients_count)
27 condition = ${if > {$message_size}{10}{no}{yes}}
28
29
30# ------ Routers ------
31
32begin routers
33
34r1:
35 driver = dnslookup
36 domains = ! +local_domains
37 transport = dev_null
38 no_more
39
40r2:
41 driver = accept
42 local_parts = userx : postmaster
43 transport = local_delivery
44
45
46# ------ Transports ------
47
48begin transports
49
50dev_null:
51 driver = appendfile
52 file = /dev/null
53 user = CALLER
54
55local_delivery:
56 driver = appendfile
0d2e392e 57 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
58 user = CALLER
59
60# End