From 5cd1d1356732d96d49a1f7c682d1b8a33b2576f9 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 14 Apr 2021 22:21:05 +0100 Subject: taint: allow appendfile create_file option to specify a de-tainting safe path --- test/confs/0095 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test/confs/0095') diff --git a/test/confs/0095 b/test/confs/0095 index b1201f870..4b18a494f 100644 --- a/test/confs/0095 +++ b/test/confs/0095 @@ -39,7 +39,8 @@ begin transports appendfile: driver = appendfile - file = DIR/test-mail/${bless:$local_part} + file = DIR/test-mail/$local_part + create_file = DIR/test-mail quota = $h_quota quota_warn_threshold = $h_threshold QWM @@ -47,14 +48,16 @@ appendfile: appendfile2: driver = appendfile - file = DIR/test-mail/${bless:$local_part} + file = DIR/test-mail/$local_part + create_file = DIR/test-mail quota = $h_quota quota_warn_threshold = $h_threshold user = CALLER appendfile3: driver = appendfile - file = DIR/test-mail/${bless:$local_part}${if eq{$sender_address}{}{.bounce}} + file = DIR/test-mail/${local_part}${if eq{$sender_address}{}{.bounce}} + create_file = DIR/test-mail quota_warn_threshold = $h_threshold user = CALLER headers_add = X:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -- cgit v1.2.3