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