taint: allow appendfile create_file option to specify a de-tainting safe path
[exim.git] / test / confs / 0110
1 # Exim test configuration 0110
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 acl_smtp_rcpt = check_recipient
9 acl_smtp_data = check_message
10
11 domainlist local_domains = test.ex
12 qualify_domain = test.ex
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 deliver:
20   driver = accept
21   condition = ${if eq{$original_local_part}{second}{yes}{no}}
22   retry_use_local_part
23   transport = appendfile
24
25 first:
26   driver = redirect
27   allow_defer
28   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
29   forbid_file
30   forbid_pipe
31   one_time
32   retry_use_local_part
33
34 second:
35   driver = redirect
36   allow_defer
37   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
38   retry_use_local_part
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 appendfile:
46   driver = appendfile
47   file = DIR/test-mail/$local_part
48   create_file = DIR/test-mail
49   user = CALLER
50
51
52 # ----- Retry -----
53
54
55 begin retry
56
57 * * F,5d,1d
58
59
60 # End