Use random_number rather than random, for external server distribution. Bug 2694
[users/heiko/exim.git] / test / confs / 0533
1 # Exim test configuration 0533
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9
10
11 # ----- Routers -----
12
13 begin routers
14
15 r1:
16   driver = redirect
17   local_part_prefix = file-
18   local_part_suffix = =*
19   data = DIR/test-mail/${bless:${substr_1:$local_part_suffix}}
20   file_transport = t1
21
22 r2:
23   driver = redirect
24   local_part_prefix = pipe-
25   local_part_suffix = =*
26   caseful_local_part = true
27   data = |${bless:${substr_1:$local_part_suffix}}
28   pipe_transport = t2
29
30
31 # ----- Transports -----
32
33 begin transports
34
35 t1:
36   driver = appendfile
37   envelope_to_add
38   user = CALLER
39   batch_max = 10
40
41 t2:
42   driver = pipe
43   user = CALLER
44   batch_max = 10
45
46 # End