Routing: avoid doing the one_time replacement operation when a redirect leaves the...
[users/heiko/exim.git] / test / confs / 0284
1 # Exim test configuration 0284
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
11
12 # ----- Routers -----
13
14 begin routers
15
16 all:
17   driver = accept
18   address_data = ${if match{$local_part}{^(.)}{$1}}
19   transport = ${if match{$local_part}{^.*-(.*)\$}{$1}fail}
20
21
22 # ----- Transports -----
23
24 begin transports
25
26 t1:
27   driver = appendfile
28   batch_max = 100
29   file = DIR/test-mail/batched
30   envelope_to_add
31   user = CALLER
32
33 t2:
34   driver = appendfile
35   batch_max = 100
36   file = DIR/test-mail/$local_part
37   envelope_to_add
38   user = CALLER
39
40 t3:
41   driver = appendfile
42   batch_max = 100
43   file = DIR/test-mail/$domain
44   envelope_to_add
45   user = CALLER
46
47 t4:
48   driver = appendfile
49   batch_max = 100
50   batch_id = $address_data
51   file = DIR/test-mail/batched
52   envelope_to_add
53   user = CALLER
54
55 # ----- Retry -----
56
57 begin retry
58
59 * * F,1d,1d
60
61 # End