taint: allow appendfile create_file option to specify a de-tainting safe path
[exim.git] / test / confs / 0137
1 # Exim test configuration 0137
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 log_selector = +subject
9 domainlist local_domains = test.ex
10 qualify_domain = test.ex
11 untrusted_set_sender = *
12
13
14 # ----- Routers -----
15
16 begin routers
17
18 smart:
19   driver = accept
20   retry_use_local_part
21   transport = ${if eq {t1}{$sender_address_local_part} {local_delivery} \
22                 {${if eq {t2}{$sender_address_local_part} {local_delivery_fcntl} \
23                 {${if eq {t3}{$sender_address_local_part} {local_delivery_fcntl_blocking} \
24                 {} }}}}}
25
26
27 # ----- Transports -----
28
29 begin transports
30
31 local_delivery:
32   driver = appendfile
33   file = DIR/test-mail/$local_part
34   create_file = DIR/test-mail
35   lock_interval = 1s
36   lock_retries = 2
37   user = CALLER
38
39 local_delivery_fcntl:
40   driver = appendfile
41   file = DIR/test-mail/$local_part
42   create_file = DIR/test-mail
43   lock_interval = 1s
44   lock_retries = 2
45   no_use_lockfile
46   user = CALLER
47
48 local_delivery_fcntl_blocking:
49   driver = appendfile
50   file = DIR/test-mail/$local_part
51   create_file = DIR/test-mail
52   lock_fcntl_timeout = 2s
53   lock_interval = 1s
54   lock_retries = 2
55   no_use_lockfile
56   user = CALLER
57
58
59 # ----- Retry -----
60
61 begin retry
62
63 *        *  F,4d,4d
64
65
66 # End