c7fc79d54174c0db13c26b92f8f5fbf12e0f0097
[exim.git] / test / confs / 0153
1 # Exim test configuration 0153
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9 tls_advertise_hosts =
10
11 # ----- Main settings -----
12
13
14 # ----- Routers -----
15
16 begin routers
17
18 virtual:
19   driver = redirect
20   domains = *.virt.test.ex
21   address_data = ${if match{$domain}{^(.*)\\.virt\\.test\\.ex\$}{$1}}
22   data = ${if exists{DIR/aux-fixed/TESTNUM.alias.$address_data} \
23            {${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias.$address_data}}} \
24           fail}
25   no_more
26
27 list:
28   driver = redirect
29   domains = list.test.ex
30   file = ${if exists{DIR/aux-fixed/TESTNUM.list.$local_part} \
31             {DIR/aux-fixed/TESTNUM.list.$local_part}fail}
32   no_more
33
34 real:
35   driver = accept
36   verify_only
37
38
39 # End