Routers: make retry_use_local_part default true when any non-domain condition is...
[exim.git] / test / scripts / 0000-Basic / 0264
1 # retry rules and local parts
2 exim -odi userx@test.ex
3 ****
4 dump retry
5 exim -odi usery@test.ex
6 ****
7 exim -odq userz@test.ex
8 ****
9 exim -q
10 ****
11 exim -odi notuser@test.ex
12 ****
13 dump retry
14 exim -odi notuser2@test.ex
15 ****
16 exim -odq notuser3@test.ex
17 ****
18 exim -q
19 ****
20 exim -Mrm $msg1 $msg2 $msg3 $msg4
21 ****
22 exim -odi r3.a@outside
23 ****
24 exim -odq r3.b@outside
25 ****
26 exim -q
27 ****
28 exim -Mrm $msg1 $msg2
29 ****
30 # Using a router with preconditions (local_parts, here) should get an address-retry record
31 sudo rm DIR/spool/db/retry
32 exim -odi r4.a@outside
33 ****
34 dump retry
35 exim -odq r4.b@outside
36 ****
37 exim -q
38 ****
39 exim -odi r5.a@r5domain.ex
40 ****
41 exim -Mrm $msg1 $msg2 $msg3
42 ****
43 # Using a router with no non-domain preconditions, first should write a domain-retry record.
44 sudo rm DIR/spool/db/retry
45 exim -odi rz.a@outside
46 ****
47 dump retry
48 # Second will find it - this is visible in debug output
49 exim -d-all+route+deliver+retry -odi rz.b@outside
50 ****
51 exim -q
52 ****
53 no_msglog_check
54 no_message_check