Merge from master into 4.next
[exim.git] / test / confs / 0284
CommitLineData
afda344b
PH
1# Exim test configuration 0284
2
4fab92fb
HSHR
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9qualify_domain = test.ex
10
11
12# ----- Routers -----
13
14begin routers
15
16all:
17 driver = accept
18 address_data = ${if match{$local_part}{^(.)}{$1}}
19 transport = ${if match{$local_part}{^.*-(.*)\$}{$1}fail}
20
21
22# ----- Transports -----
23
24begin transports
25
26t1:
27 driver = appendfile
28 batch_max = 100
29 file = DIR/test-mail/batched
30 envelope_to_add
31 user = CALLER
32
33t2:
34 driver = appendfile
35 batch_max = 100
36 file = DIR/test-mail/$local_part
37 envelope_to_add
38 user = CALLER
39
40t3:
41 driver = appendfile
42 batch_max = 100
43 file = DIR/test-mail/$domain
44 envelope_to_add
45 user = CALLER
46
47t4:
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
57begin retry
58
59* * F,1d,1d
60
61# End