summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-11-16 14:14:35 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-12 18:58:33 +0000
commit9c695f6d10bd63bd44608bd01f0073fd4c7dd6e6 (patch)
treef00e318ac5e4895c1e958e9d3a5ca468f36dd0f7 /test/scripts/0000-Basic
parent44cb15a8ff06c99f6791440c61a161935d0ccf8c (diff)
Make the retry_include_ip_address smtp transport option expanded. Bug 1545
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/009912
1 files changed, 12 insertions, 0 deletions
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
****