X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/34fab493f633baf3f0013f0d07cdc64fc93c19f4..594db4c93b1f04ddb422ad86a188a4fdcb19c570:/test/scripts/0000-Basic/0099 diff --git a/test/scripts/0000-Basic/0099 b/test/scripts/0000-Basic/0099 index c615c1ca8..6dfc14a04 100644 --- a/test/scripts/0000-Basic/0099 +++ b/test/scripts/0000-Basic/0099 @@ -1,5 +1,8 @@ # retry data -exim -odi userx@far.away.ex +# +# +# This should add an entry for "thishost.test.ex" +exim -odi userx@simple Test message **** dump retry @@ -10,7 +13,32 @@ dump retry sleep 3 exim -odi -q **** +# +# This should add two entries for "localhost.test.ex" (ipv4, ipv6) +exim -odi usery@complex +Test message 2 +**** +dump retry +# +# and one for thishost without its IP +exim -odi -DRETRY=retry_include_ip_address=no userz@simple +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 **** exim -brt x@a.b.c