From 9c695f6d10bd63bd44608bd01f0073fd4c7dd6e6 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 16 Nov 2014 14:14:35 +0000 Subject: Make the retry_include_ip_address smtp transport option expanded. Bug 1545 --- test/scripts/0000-Basic/0099 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/scripts/0000-Basic') diff --git a/test/scripts/0000-Basic/0099 b/test/scripts/0000-Basic/0099 index 252282112..6dfc14a04 100644 --- a/test/scripts/0000-Basic/0099 +++ b/test/scripts/0000-Basic/0099 @@ -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 **** -- cgit v1.2.3