Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0103 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b PH |
5 | |
6 | # ----- Main settings ----- | |
7 | ||
8 | domainlist local_domains = test.ex : special | |
9 | log_selector = +all_parents | |
10 | qualify_domain = test.ex | |
11 | ||
12 | ||
13 | # ----- Rewrite ----- | |
14 | ||
15 | begin rewrite | |
16 | ||
17 | \N^WAS...@x\.y\.zwas$ rewritten@x.y.z | |
18 | ||
19 | ||
20 | # ----- Routers ----- | |
21 | ||
22 | begin routers | |
23 | ||
24 | special: | |
25 | driver = redirect | |
26 | allow_defer | |
27 | allow_fail | |
28 | data = $local_part | |
29 | domains = special | |
30 | retry_use_local_part | |
31 | ||
32 | accept: | |
33 | driver = accept | |
34 | local_parts = CALLER : wasabcwas : rewritten | |
35 | retry_use_local_part | |
36 | transport = appendfile | |
37 | ||
38 | test_no_rewrite: | |
39 | driver = redirect | |
40 | data = WAS${local_part}WAS | |
41 | local_parts = abc@x.y.z | |
42 | no_rewrite | |
43 | ||
44 | test_rewrite: | |
45 | driver = redirect | |
46 | data = WAS${local_part}WAS | |
47 | local_parts = xyz@x.y.z | |
48 | ||
49 | ||
50 | # ----- Transports ----- | |
51 | ||
52 | begin transports | |
53 | ||
54 | appendfile: | |
55 | driver = appendfile | |
56 | file = DIR/test-mail/$local_part | |
57 | user = CALLER | |
58 | ||
59 | ||
60 | # ----- Retry ----- | |
61 | ||
62 | begin retry | |
63 | ||
64 | * * F,5d,1d | |
65 | ||
66 | # End |