X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/4fab92fbc2b63bac2d89c1dae69fa1845cb640b7..436c0d208b49421d3d126f7c284bc3130b50ff14:/test/confs/0102?ds=sidebyside diff --git a/test/confs/0102 b/test/confs/0102 index dde11a5e9..30b1496ac 100644 --- a/test/confs/0102 +++ b/test/confs/0102 @@ -25,7 +25,9 @@ localuser: local_part_prefix = bsmtp_ : mmdf_ local_part_prefix_optional retry_use_local_part - transport = ${local_part_prefix}local_delivery + transport = ${if !def:local_part_prefix {} \ + {${if eq {bsmtp_}{$local_part_prefix} {bsmtp_}\ + {${if eq {mmdf_}{$local_part_prefix} {mmdf_} {}}}}}}local_delivery # ----- Transports ----- @@ -36,7 +38,7 @@ local_delivery: driver = appendfile delivery_date_add envelope_to_add - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} file_format = "From : local_delivery :\ MAIL : bsmtp_local_delivery :\ \1\1\1\1\n : mmdf_local_delivery :\ @@ -50,7 +52,7 @@ bsmtp_local_delivery: use_bsmtp delivery_date_add envelope_to_add - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} return_path_add user = CALLER @@ -58,7 +60,7 @@ mmdf_local_delivery: driver = appendfile check_string = "\1\1\1\1\n" escape_string = "\1\1\1\1 \n" - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} message_prefix = "\1\1\1\1\n" message_suffix = "\1\1\1\1\n" user = CALLER