Add retry type "lookup". Bug 1566
[users/jgh/exim.git] / test / confs / 0103
1 # Exim test configuration 0103
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 domainlist local_domains = test.ex : special
13 log_selector = +all_parents
14 qualify_domain = test.ex
15
16
17 # ----- Rewrite -----
18
19 begin rewrite
20
21 \N^WAS...@x\.y\.zwas$   rewritten@x.y.z
22
23
24 # ----- Routers -----
25
26 begin routers
27
28 special:
29   driver = redirect
30   allow_defer
31   allow_fail
32   data = $local_part
33   domains = special
34   retry_use_local_part
35
36 accept:
37   driver = accept
38   local_parts = CALLER : wasabcwas : rewritten
39   retry_use_local_part
40   transport = appendfile
41
42 test_no_rewrite:
43   driver = redirect
44   data = WAS${local_part}WAS
45   local_parts = abc@x.y.z
46   no_rewrite
47
48 test_rewrite:
49   driver = redirect
50   data = WAS${local_part}WAS
51   local_parts = xyz@x.y.z
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 appendfile:
59   driver = appendfile
60   file = DIR/test-mail/$local_part
61   user = CALLER
62
63
64 # ----- Retry -----
65
66 begin retry
67
68 * * F,5d,1d
69
70 # End