Merge branch 'master' into 4.next
[exim.git] / test / confs / 0028
1 # Exim test configuration 0028
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex
10
11 acl_smtp_rcpt = acl_rcpt
12 acl_smtp_data = acl_data
13
14
15 # ------ ACLs ------
16
17 begin acl
18
19 acl_rcpt:
20 accept endpass
21 message = SIZE value too big
22 condition = ${if > {$message_size}{10}{no}{yes}}
23
24 acl_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
32 begin routers
33
34 r1:
35 driver = dnslookup
36 domains = ! +local_domains
37 transport = dev_null
38 no_more
39
40 r2:
41 driver = accept
42 local_parts = userx : postmaster
43 transport = local_delivery
44
45
46 # ------ Transports ------
47
48 begin transports
49
50 dev_null:
51 driver = appendfile
52 file = /dev/null
53 user = CALLER
54
55 local_delivery:
56 driver = appendfile
57 file = DIR/test-mail/$local_part
58 user = CALLER
59
60 # End