69e02ebcf657fc13d41579aee9701969967c7d87
[users/jgh/exim.git] / test / confs / 0153
1 # Exim test configuration 0153
2
3 .include DIR/aux-var/std_conf_prefix
4
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.${bless:$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