testsuite: provide cp() if File::Copy is too old.
[users/heiko/exim.git] / test / confs / 0264
1 # Exim test configuration 0264
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 qualify_domain = test.ex
10 queue_run_in_order
11
12 # ----- Transports -----
13
14 begin transports
15
16 local_delivery:
17   driver = appendfile
18   file = DIR/test-mail/${bless:$local_part}
19   user = CALLER
20
21   quota = ${if eq{$local_part}{userx}{3}{10000}}
22   current_directory = /
23
24 local_delivery2:
25   driver = appendfile
26   retry_use_local_part = false
27   file = DIR/test-mail/${bless:$local_part}
28   user = CALLER
29   quota = 3
30   current_directory = /
31
32 # ----- Routers -----
33
34 begin routers
35
36 r1:
37   driver = accept
38   local_parts = userx : usery : userz
39   domains = test.ex
40   transport = local_delivery
41
42 r2:
43   driver = accept
44   domains = test.ex
45   transport = local_delivery2
46
47 r3:
48   driver = redirect
49   retry_use_local_part
50   local_parts = ^r3
51   allow_defer
52   data = :defer: not just now
53
54 r4:
55   driver = redirect
56   local_parts = ^r4
57   allow_defer
58   data = :defer: not just now
59
60 r5:
61   driver = redirect
62   local_parts = ^r5
63   allow_defer
64   data = :defer: not just now
65
66 r_remain:
67   driver = redirect
68   allow_defer
69   data = :defer: not just now
70
71
72 # ----- Retry -----
73
74 begin retry
75
76 ^\\*@r5domain.ex        *   F,10d,30m
77 "userx@test.ex"         *   F,10d,10m
78 test.ex                 *   F,20d,20m
79
80 *                       *   F,5d,5m
81
82 # End