taint: allow appendfile create_file option to specify a de-tainting safe path
[exim.git] / test / confs / 0205
1 # Exim test configuration 0205
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 domainlist local_domains = test.ex : \
10     testhack.test.ex : \
11     testhack2.test.ex
12
13 percent_hack_domains = testhack.test.ex : \
14     testhack2.test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 fail_remote_domains:
22   driver = redirect
23   domains = ! +local_domains
24   allow_fail
25   data = :fail: unrouteable mail domain "$domain"
26
27 redirect:
28   driver = redirect
29   local_parts = redirect
30   errors_to = postmaster@test.ex
31   data = redirected%test.ex@testhack.test.ex
32   address_data = $address_data-redirect
33
34 local_domains:
35   driver = accept
36   transport = local_delivery
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 local_delivery:
44   driver = appendfile
45   file = DIR/test-mail/$local_part
46   create_file = DIR/test-mail
47   user = CALLER
48   headers_add = Address-Data: >$address_data<
49
50
51 # End