Keep router-variables separate on addrs, to avoid taint contamination
[users/jgh/exim.git] / test / confs / 0620
1 # Exim test configuration 0166
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9 qualify_domain = test.ex
10
11 acl_not_smtp = not_smtp
12
13 begin acl
14
15 not_smtp:
16   accept log_message = rcpt <$recipients> l <$local_part>
17
18 # ----- Routers -----
19
20 begin routers
21
22 alias:
23   driver =      redirect
24   debug_print = DEBUG: $r_r1 $r_r2
25   data =        b
26   set = <;      r_r1 = $local_part aaa:bbb bar=baz
27
28 user:
29   driver =      accept
30   debug_print = DEBUG: $r_r1 $r_r2
31   set =         r_r1 = $local_part
32   set = <;      r_r2 = $local_part 2a00:1940:100::ff:0:1 foo=bar
33   transport =   local_delivery
34
35
36 # ----- Transports -----
37
38 begin transports
39
40 local_delivery:
41   driver = appendfile
42   envelope_to_add
43   file = DIR/test-mail/$local_part
44   user = CALLER
45   debug_print = DEBUG: $r_r1 $r_r2
46   headers_add = X-r1: $r_r1\nX-r2: $r_r2
47
48
49 # End