Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0330 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b PH |
5 | |
6 | # ----- Main settings ----- | |
7 | ||
8 | qualify_domain = test.ex | |
9 | ||
10 | ||
11 | # ----- Routers ----- | |
12 | ||
13 | begin routers | |
14 | ||
15 | alias: | |
16 | driver = redirect | |
17 | data = ${if eq {$local_part}{UserY}{userz1}\ | |
18 | {${if eq {$local_part}{usery}{userz2}{}}}} | |
19 | caseful_local_part | |
20 | ||
21 | forward: | |
22 | driver = redirect | |
23 | check_ancestor | |
24 | no_check_local_user | |
25 | file = DIR/aux-fixed/TESTNUM.forward | |
26 | ||
27 | deliver: | |
28 | driver = accept | |
29 | local_parts = ^userz | |
30 | transport = appendfile | |
31 | ||
32 | ||
33 | # ----- Transports ----- | |
34 | ||
35 | begin transports | |
36 | ||
37 | appendfile: | |
38 | driver = appendfile | |
39 | envelope_to_add | |
40 | file = DIR/test-mail/$local_part | |
41 | user = CALLER | |
42 | ||
43 | ||
44 | # End |