X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/51596af432c9365790451f0859385b53c0205b1d..37c0e209412be42f04a4599ecad6f901bff46f08:/test/scripts/0000-Basic/0099 diff --git a/test/scripts/0000-Basic/0099 b/test/scripts/0000-Basic/0099 index 252282112..c6df9b7dd 100644 --- a/test/scripts/0000-Basic/0099 +++ b/test/scripts/0000-Basic/0099 @@ -14,7 +14,7 @@ sleep 3 exim -odi -q **** # -# This should add two entries for "localhost.test.ex" (ipv4, ipv6) +# This should add two entries for "thisloop.test.ex" (ip4, 127.0.0.1) exim -odi usery@complex Test message 2 **** @@ -26,6 +26,32 @@ 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 'thisloop.test.ex' entry, without IP +exim -odi -DRETRY='retry_include_ip_address=${if eq{with}{$local_part} {yes}{no}}' without@complex +Test message +**** +dump retry +# +# a lookup-failure (in manualroute) +exim -odi userx@nonexist +Test message +**** +# a lookup-failure (good MX, missing A) in dnslookup, deferred +exim -odi userx@mxt2.test.ex +Test message +**** +# a lookup-failure (missing MX) in dnslookup, deferred +exim -odi userx@mxnonexist.test.ex +Test message +**** +dump retry +# # exim -brt x@dark.star.ex **** @@ -57,3 +83,8 @@ exim -f "d@e.f" -brt x@Q.abcd.ex **** exim -brt x@not.not.ex **** +exim -brt x@nonexist.test.ex lookup +**** +# +# +no_msglog_check