Routers: make retry_use_local_part default true when any non-domain condition is...
[exim.git] / test / confs / 0264
CommitLineData
afda344b
PH
1# Exim test configuration 0264
2
d4dc049f
JH
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
10queue_run_in_order
11
12# ----- Transports -----
13
14begin transports
15
16local_delivery:
17 driver = appendfile
18 file = DIR/test-mail/$local_part
19 user = CALLER
20
21 quota = ${if eq{$local_part}{userx}{3}{10000}}
22 current_directory = /
23
24local_delivery2:
25 driver = appendfile
26 retry_use_local_part = false
27 file = DIR/test-mail/$local_part
28 user = CALLER
29 quota = 3
30 current_directory = /
31
32# ----- Routers -----
33
34begin routers
35
36r1:
37 driver = accept
38 local_parts = userx : usery : userz
39 domains = test.ex
40 transport = local_delivery
41
42r2:
43 driver = accept
44 domains = test.ex
45 transport = local_delivery2
46
47r3:
48 driver = redirect
49 retry_use_local_part
50 local_parts = ^r3
51 allow_defer
52 data = :defer: not just now
53
54r4:
55 driver = redirect
56 local_parts = ^r4
57 allow_defer
58 data = :defer: not just now
59
60r5:
61 driver = redirect
62 local_parts = ^r5
63 allow_defer
64 data = :defer: not just now
65
dbbf21a7
JH
66r_remain:
67 driver = redirect
68 allow_defer
69 data = :defer: not just now
70
71
afda344b
PH
72# ----- Retry -----
73
74begin retry
75
76^\\*@r5domain.ex * F,10d,30m
77"userx@test.ex" * F,10d,10m
78test.ex * F,20d,20m
79
80* * F,5d,5m
81
82# End