fix doubled logging of message_id
[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/$local_part
39   create_file = DIR/test-mail
40   envelope_to_add
41   user = CALLER
42
43 t3:
44   driver = appendfile
45   batch_max = 100
46   file = DIR/test-mail/$domain
47   create_file = DIR/test-mail
48   envelope_to_add
49   user = CALLER
50
51 t4:
52   driver = appendfile
53   batch_max = 100
54   batch_id = $address_data
55   file = DIR/test-mail/batched
56   envelope_to_add
57   user = CALLER
58
59 # ----- Retry -----
60
61 begin retry
62
63 * * F,1d,1d
64
65 # End