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