X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d4dc049f9a9e80ac3a470fd644418668eefedecb..953303cf3170248dae7f284b0a55cf105a66371c:/test/confs/0102 diff --git a/test/confs/0102 b/test/confs/0102 index dde11a5e9..c73eed924 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 ----- @@ -37,6 +39,7 @@ local_delivery: delivery_date_add envelope_to_add file = DIR/test-mail/$local_part + create_file = DIR/test-mail file_format = "From : local_delivery :\ MAIL : bsmtp_local_delivery :\ \1\1\1\1\n : mmdf_local_delivery :\ @@ -51,6 +54,7 @@ bsmtp_local_delivery: delivery_date_add envelope_to_add file = DIR/test-mail/$local_part + create_file = DIR/test-mail return_path_add user = CALLER @@ -59,6 +63,7 @@ mmdf_local_delivery: check_string = "\1\1\1\1\n" escape_string = "\1\1\1\1 \n" 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