Fix error logging for dynamically-loaded modules. Bug 2507
[users/heiko/exim.git] / test / confs / 0102
index dde11a5e9e84aa600f23778723c7fd2dee0b2315..2497fd032b422b611441b8b614df8ff0a8f3031d 100644 (file)
@@ -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 -----