Fix cutthrough delivery for more than one iteration of address redirection. Bug...
[exim.git] / test / confs / 0428
1 # Exim test configuration 0428
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 primary_hostname = mail.test.ex
9 qualify_domain = test.ex
10 trusted_users = CALLER
11
12 # ----- Routers -----
13
14 begin routers
15
16 rb:
17   driver = accept
18   senders = :
19   transport = t2
20
21 r0:
22   driver = redirect
23   local_parts = redirected
24   allow_filter
25   user = CALLER
26   file_transport = t1
27   data = "#Sieve filter\n keep;"
28
29 r1:
30   driver = redirect
31   local_parts = ^restrict-
32   allow_filter
33   forbid_file
34   skip_syntax_errors
35   data = "#Sieve filter\n$h_filter:"
36   user = CALLER
37   file_transport = t1
38
39 r2:
40   driver = redirect
41   local_part_suffix = -*
42   local_part_suffix_optional
43   allow_filter
44   data = "#Sieve filter\n$h_filter:"
45   user = CALLER
46   file_transport = t1
47   reply_transport = t3
48   sieve_vacation_directory = DIR/test-vacation-directory
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 t1:
56   driver = appendfile
57   file = ${if eq{$address_file}{inbox} \
58               {DIR/test-mail/$local_part} \
59               {${if eq{${substr_0_1:$address_file}}{/} \
60                     {$address_file} \
61                     {DIR/test-mail/$address_file} \
62               }} \
63          }
64   delivery_date_add
65   envelope_to_add
66   return_path_add
67   user = CALLER
68
69 t2:
70   driver = appendfile
71   file = DIR/test-mail/$local_part
72   delivery_date_add
73   envelope_to_add
74   return_path_add
75   user = CALLER
76
77 t3:
78   driver = autoreply
79
80 # End