diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-04-14 22:21:05 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-04-14 22:23:05 +0100 |
commit | 5cd1d1356732d96d49a1f7c682d1b8a33b2576f9 (patch) | |
tree | 765e3ce4b5bbfe789285602673b3f9ee7e04b3d0 /test/confs/5050 | |
parent | 3f06b9b4c7244b169d50bce216c1f54b4dfe7efb (diff) |
taint: allow appendfile create_file option to specify a de-tainting safe path
Diffstat (limited to 'test/confs/5050')
-rw-r--r-- | test/confs/5050 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/confs/5050 b/test/confs/5050 index af6220121..832f0d787 100644 --- a/test/confs/5050 +++ b/test/confs/5050 @@ -32,7 +32,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 :\ *mbx*\r\n : mbx_local_delivery :\ tpmissing : tpmissing" @@ -45,7 +46,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 @@ -54,7 +56,8 @@ mbx_local_delivery: check_string = delivery_date_add envelope_to_add - file = DIR/test-mail/${bless:$local_part} + file = DIR/test-mail/$local_part + create_file = DIR/test-mail mbx_format message_prefix = return_path_add |