Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0153 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b PH |
5 | |
6 | # ----- Main settings ----- | |
7 | ||
8 | ||
9 | # ----- Routers ----- | |
10 | ||
11 | begin routers | |
12 | ||
13 | virtual: | |
14 | driver = redirect | |
15 | domains = *.virt.test.ex | |
16 | address_data = ${if match{$domain}{^(.*)\\.virt\\.test\\.ex\$}{$1}} | |
17 | data = ${if exists{DIR/aux-fixed/TESTNUM.alias.$address_data} \ | |
18 | {${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias.$address_data}}} \ | |
19 | fail} | |
20 | no_more | |
21 | ||
22 | list: | |
23 | driver = redirect | |
24 | domains = list.test.ex | |
25 | file = ${if exists{DIR/aux-fixed/TESTNUM.list.$local_part} \ | |
26 | {DIR/aux-fixed/TESTNUM.list.$local_part}fail} | |
27 | no_more | |
28 | ||
29 | real: | |
30 | driver = accept | |
31 | verify_only | |
32 | ||
33 | ||
34 | # End |