Debugging: avoid expansion problem with foolish-length list output
[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 eq {${substr_-1_1:$local_part}}{1} {t1} \
20                 {${if eq {${substr_-1_1:$local_part}}{2} {t2} \
21                   {${if eq {${substr_-1_1:$local_part}}{3} {t3} {t4}}}}}}
22
23
24 # ----- Transports -----
25
26 begin transports
27
28 t1:
29   driver = appendfile
30   batch_max = 100
31   file = DIR/test-mail/batched
32   envelope_to_add
33   user = CALLER
34
35 t2:
36   driver = appendfile
37   batch_max = 100
38   file = DIR/test-mail/${bless:$local_part}
39   envelope_to_add
40   user = CALLER
41
42 t3:
43   driver = appendfile
44   batch_max = 100
45   file = DIR/test-mail/${bless:$domain}
46   envelope_to_add
47   user = CALLER
48
49 t4:
50   driver = appendfile
51   batch_max = 100
52   batch_id = $address_data
53   file = DIR/test-mail/batched
54   envelope_to_add
55   user = CALLER
56
57 # ----- Retry -----
58
59 begin retry
60
61 * * F,1d,1d
62
63 # End