X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/d4dc049f9a9e80ac3a470fd644418668eefedecb..701af1005a6effaac5ce249f1c2086dc6c0c2a7f:/test/confs/5050 diff --git a/test/confs/5050 b/test/confs/5050 index 462d7dcf2..af6220121 100644 --- a/test/confs/5050 +++ b/test/confs/5050 @@ -19,7 +19,9 @@ localuser: local_part_prefix = bsmtp_ : mmdf_ : mbx_ local_part_prefix_optional retry_use_local_part - transport = ${local_part_prefix}local_delivery + transport = ${if eq {bsmtp_} {${local_part_prefix}} {bsmtp_} \ + {${if eq {mmdf_} {${local_part_prefix}} {mmdf_} \ + {${if eq {mbx_} {${local_part_prefix}} {mbx_}{}}}}}}local_delivery # ----- Transports ----- @@ -30,7 +32,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 :\ *mbx*\r\n : mbx_local_delivery :\ tpmissing : tpmissing" @@ -43,7 +45,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 @@ -52,7 +54,7 @@ mbx_local_delivery: check_string = delivery_date_add envelope_to_add - file = DIR/test-mail/$local_part + file = DIR/test-mail/${bless:$local_part} mbx_format message_prefix = return_path_add