X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/23f3dc67a13f71bb8fdf2930052d3fdce85e9774..235ef8b383017dcadeaba957b271c052cac220a5:/test/confs/5050?ds=sidebyside diff --git a/test/confs/5050 b/test/confs/5050 index 6bff7fe14..832f0d787 100644 --- a/test/confs/5050 +++ b/test/confs/5050 @@ -1,12 +1,7 @@ # Exim test configuration 5050 -exim_path = EXIM_PATH -host_lookup_order = bydns -spool_directory = DIR/spool -log_file_path = DIR/spool/log/%slog -gecos_pattern = "" -gecos_name = CALLER_NAME -tls_advertise_hosts = +.include DIR/aux-var/std_conf_prefix + # ----- Main settings ----- @@ -24,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 ----- @@ -36,6 +33,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 :\ *mbx*\r\n : mbx_local_delivery :\ tpmissing : tpmissing" @@ -49,6 +47,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 @@ -58,6 +57,7 @@ mbx_local_delivery: delivery_date_add envelope_to_add file = DIR/test-mail/$local_part + create_file = DIR/test-mail mbx_format message_prefix = return_path_add