Check for missing commandline arg after options taking one. Bug 3049
[exim.git] / test / confs / 5050
index 462d7dcf23a8680b36e531fe22649d76f2275e94..832f0d7871c98d424b7baa4b0019d41743d45f26 100644 (file)
@@ -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 -----
@@ -31,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"
@@ -44,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
 
@@ -53,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