summaryrefslogtreecommitdiff
path: root/test/confs/0100
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/0100
parent3f06b9b4c7244b169d50bce216c1f54b4dfe7efb (diff)
taint: allow appendfile create_file option to specify a de-tainting safe path
Diffstat (limited to 'test/confs/0100')
-rw-r--r--test/confs/010018
1 files changed, 12 insertions, 6 deletions
diff --git a/test/confs/0100 b/test/confs/0100
index afe04a4c1..547684ca8 100644
--- a/test/confs/0100
+++ b/test/confs/0100
@@ -84,7 +84,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
return_path_add
current_directory = /
user = CALLER
@@ -93,7 +94,8 @@ hackfree_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
check_string =
return_path_add
user = CALLER
@@ -105,7 +107,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
current_directory = /
@@ -116,7 +119,8 @@ bsmtp_local_delivery_filtered:
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
transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
user = CALLER
@@ -136,7 +140,8 @@ filtered_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
return_path_add
transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
current_directory = /
@@ -146,7 +151,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