Make the retry_include_ip_address smtp transport option expanded. Bug 1545
[users/jgh/exim.git] / test / scripts / 0000-Basic / 0099
index 25228211201f04731908860f9606b09f56f02a8a..6dfc14a04eeb742534ce4ec2b139fb0565e44c66 100644 (file)
@@ -26,6 +26,18 @@ Test message
 ****
 dump retry
 #
+# expanded option, giving true, should leave the localhost pair unchanged
+exim -odi -DRETRY='retry_include_ip_address=${if eq{with}{$local_part} {yes}{no}}' with@complex
+Test message
+****
+dump retry
+#
+# expanded option, giving false, should add another localhost entry, without IP
+exim -odi -DRETRY='retry_include_ip_address=${if eq{with}{$local_part} {yes}{no}}' without@complex
+Test message
+****
+dump retry
+#
 #
 exim -brt x@dark.star.ex
 ****