exim-filter dynamic module
[exim.git] / test / confs / 0403
1 # Exim test configuration 0403
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 primary_hostname = mail.test.ex
9 qualify_domain = test.ex
10
11
12 # ----- Routers -----
13
14 begin routers
15
16 r1:
17   driver =              redirect
18   domains =                 ${domain:${lookup {$local_part@$domain} lsearch,ret=key {DIR/aux-fixed/TESTNUM.accountfile}}}
19   local_parts =         ${local_part:${lookup {$local_part@$domain} lsearch,ret=key {DIR/aux-fixed/TESTNUM.accountfile}}}
20   file_transport =      t1
21   data =                DIR/test-mail/junk
22   debug_print = +++ROUTER:\n\
23                 +++domain_data=$domain_data\n\
24                 +++local_part_data=$local_part_data
25
26 r2:
27   driver =              redirect
28   domains =             lsearch;DIR/aux-fixed/TESTNUM.data
29   local_parts =         lsearch;DIR/aux-fixed/TESTNUM.data
30   address_data =        ADDRESSDATA
31   file_transport =      t1
32   data =                DIR/test-mail/junk
33   router_home_directory =       /usr
34   debug_print = +++ROUTER:\n\
35                 +++domain_data=$domain_data\n\
36                 +++local_part_data=$local_part_data\n\
37                 +++address_data=$address_data\n\
38                 +++home=$home
39
40 # ----- Transports -----
41
42 begin transports
43
44 t1:
45   driver = appendfile
46   user = CALLER
47   debug_print = +++TRANSPORT:\n\
48                 +++domain_data=$domain_data\n\
49                 +++local_part_data=$local_part_data\n\
50                 +++address_data=$address_data\n\
51                 +++home=$home
52
53 # End