Manualroute: use same host for all RCPTs of a message, even under hosts_randomize...
[exim.git] / test / scripts / 0000-Basic / 0099
index 25228211201f04731908860f9606b09f56f02a8a..c386e1e85424563e6767a125bfb9a50a8c8b1ab2 100644 (file)
@@ -26,6 +26,28 @@ Test message
 ****
 dump retry
 #
 ****
 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
+#
+# one for a lookup-failure (in manualroute)
+exim -odi userx@nonexist
+Test message
+****
+# one for a lookup-failure (in dnslookup)
+exim -odi userx@mxt2.test.ex
+Test message
+****
+dump retry
+#
 #
 exim -brt x@dark.star.ex
 ****
 #
 exim -brt x@dark.star.ex
 ****
@@ -57,3 +79,8 @@ exim -f "d@e.f" -brt x@Q.abcd.ex
 ****
 exim -brt x@not.not.ex
 ****
 ****
 exim -brt x@not.not.ex
 ****
+exim -brt x@nonexist.test.ex lookup
+****
+#
+#
+no_msglog_check