summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-10-08 19:21:41 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-10-08 19:58:13 +0100
commitae5afa61184b6c9b39f58804032b32b42e3ba44e (patch)
treebd1d15db321a06edae46e9d72d379d12d8bae83b /test/scripts
parent2ef40f49c81890cd1fdac572290e1631762a03f1 (diff)
Fix callouts connection fallback from TLS to cleartext. Bug 1897
Diffstat (limited to 'test/scripts')
l---------test/scripts/2000-GnuTLS/20511
-rw-r--r--test/scripts/2100-OpenSSL/215134
2 files changed, 35 insertions, 0 deletions
diff --git a/test/scripts/2000-GnuTLS/2051 b/test/scripts/2000-GnuTLS/2051
new file mode 120000
index 000000000..ac5066b61
--- /dev/null
+++ b/test/scripts/2000-GnuTLS/2051
@@ -0,0 +1 @@
+../2100-OpenSSL/2151 \ No newline at end of file
diff --git a/test/scripts/2100-OpenSSL/2151 b/test/scripts/2100-OpenSSL/2151
new file mode 100644
index 000000000..19dfc6479
--- /dev/null
+++ b/test/scripts/2100-OpenSSL/2151
@@ -0,0 +1,34 @@
+# TLS client: recipient callout - TLS fail, retry in clear
+need_ipv4
+#
+server PORT_S 2
+220 Server ready
+EHLO
+250-wotcher mate
+250-STARTTLS
+250 OK
+STARTTLS
+250
+.
+220 Server ready
+EHLO
+250-wotcher mate
+250-STARTTLS
+250 OK
+MAIL FROM
+250 OK
+RCPT TO
+250 OK
+QUIT
+250 OK
+****
+exim -odq -bs
+ehlo xxxx
+mail from: s1@test.ex
+rcpt to: r1@test.ex
+data
+.
+quit
+****
+no_stdout_check
+no_msglog_check