summaryrefslogtreecommitdiff
path: root/test/confs/0137
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/0137
parent3f06b9b4c7244b169d50bce216c1f54b4dfe7efb (diff)
taint: allow appendfile create_file option to specify a de-tainting safe path
Diffstat (limited to 'test/confs/0137')
-rw-r--r--test/confs/01379
1 files changed, 6 insertions, 3 deletions
diff --git a/test/confs/0137 b/test/confs/0137
index faab263aa..c12709698 100644
--- a/test/confs/0137
+++ b/test/confs/0137
@@ -30,14 +30,16 @@ begin transports
local_delivery:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
lock_interval = 1s
lock_retries = 2
user = CALLER
local_delivery_fcntl:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
lock_interval = 1s
lock_retries = 2
no_use_lockfile
@@ -45,7 +47,8 @@ local_delivery_fcntl:
local_delivery_fcntl_blocking:
driver = appendfile
- file = DIR/test-mail/${bless:$local_part}
+ file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
lock_fcntl_timeout = 2s
lock_interval = 1s
lock_retries = 2