Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0153 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
afda344b PH |
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 | ||
13 | # ----- Routers ----- | |
14 | ||
15 | begin routers | |
16 | ||
17 | virtual: | |
18 | driver = redirect | |
19 | domains = *.virt.test.ex | |
20 | address_data = ${if match{$domain}{^(.*)\\.virt\\.test\\.ex\$}{$1}} | |
21 | data = ${if exists{DIR/aux-fixed/TESTNUM.alias.$address_data} \ | |
22 | {${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias.$address_data}}} \ | |
23 | fail} | |
24 | no_more | |
25 | ||
26 | list: | |
27 | driver = redirect | |
28 | domains = list.test.ex | |
29 | file = ${if exists{DIR/aux-fixed/TESTNUM.list.$local_part} \ | |
30 | {DIR/aux-fixed/TESTNUM.list.$local_part}fail} | |
31 | no_more | |
32 | ||
33 | real: | |
34 | driver = accept | |
35 | verify_only | |
36 | ||
37 | ||
38 | # End |