SPF: only require "v=spf1" on TXT DNS records during lookups. Bug 2499
[users/jgh/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 -----