taint: allow appenfile create_file option to specify a de-tainting safe path
[users/jgh/exim.git] / test / scripts / 0000-Basic / 0584
1 # tainted data for appendfile file option
2 #
3 # This should trap
4 exim -bs -odi
5 mail from:someone@some.domain
6 rcpt to:fred@HOSTNAME
7 data
8 .
9 quit
10 ****
11 #
12 # taint trap defeated by using create_file
13 # goes on to fail on perms
14 exim -bs -odi -DOPT=DIR/test-mail
15 mail from:someone@some.domain
16 rcpt to:bill@HOSTNAME
17 data
18 .
19 quit
20 ****