summaryrefslogtreecommitdiff
path: root/test/confs/0102
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-04-14 22:21:05 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-04-14 22:23:05 +0100
commit5cd1d1356732d96d49a1f7c682d1b8a33b2576f9 (patch)
tree765e3ce4b5bbfe789285602673b3f9ee7e04b3d0 /test/confs/0102
parent3f06b9b4c7244b169d50bce216c1f54b4dfe7efb (diff)
downloadexim4-5cd1d1356732d96d49a1f7c682d1b8a33b2576f9.tar.gz
taint: allow appendfile create_file option to specify a de-tainting safe path
Diffstat (limited to 'test/confs/0102')
-rw-r--r--test/confs/01029
1 files changed, 6 insertions, 3 deletions
diff --git a/test/confs/0102 b/test/confs/0102
index 30b1496ac..c73eed924 100644
--- a/test/confs/0102
+++ b/test/confs/0102
@@ -38,7 +38,8 @@ local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
file_format = "From : local_delivery :\
MAIL : bsmtp_local_delivery :\
\1\1\1\1\n : mmdf_local_delivery :\
@@ -52,7 +53,8 @@ bsmtp_local_delivery:
use_bsmtp
delivery_date_add
envelope_to_add
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
return_path_add
user = CALLER
@@ -60,7 +62,8 @@ mmdf_local_delivery:
driver = appendfile
check_string = "\1\1\1\1\n"
escape_string = "\1\1\1\1 \n"
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
message_prefix = "\1\1\1\1\n"
message_suffix = "\1\1\1\1\n"
user = CALLER