summaryrefslogtreecommitdiff
path: root/test/scripts/3460-plaintext-OpenSSL
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/3460-plaintext-OpenSSL')
-rw-r--r--test/scripts/3460-plaintext-OpenSSL/346042
-rw-r--r--test/scripts/3460-plaintext-OpenSSL/346114
-rw-r--r--test/scripts/3460-plaintext-OpenSSL/346214
-rw-r--r--test/scripts/3460-plaintext-OpenSSL/346343
-rw-r--r--test/scripts/3460-plaintext-OpenSSL/REQUIRES3
5 files changed, 116 insertions, 0 deletions
diff --git a/test/scripts/3460-plaintext-OpenSSL/3460 b/test/scripts/3460-plaintext-OpenSSL/3460
new file mode 100644
index 000000000..3d8f36c80
--- /dev/null
+++ b/test/scripts/3460-plaintext-OpenSSL/3460
@@ -0,0 +1,42 @@
+# TLS (server: TLS required before AUTH)
+exim -DSERVER=server -bd -oX PORT_D
+****
+client-ssl HOSTIPV4 PORT_D
+??? 220
+ehlo foobar
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+auth plain AHVzZXJ4AHNlY3JldA==
+??? 235
+quit
+??? 221
+****
+client-ssl 127.0.0.1 PORT_D
+??? 220
+ehlo foobar
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+auth plain AHVzZXJ4AHNlY3JldA==
+??? 503
+starttls
+??? 220
+ehlo foobar
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+auth plain AHVzZXJ4AHNlY3JldA==
+??? 235
+quit
+??? 221
+****
+killdaemon
diff --git a/test/scripts/3460-plaintext-OpenSSL/3461 b/test/scripts/3460-plaintext-OpenSSL/3461
new file mode 100644
index 000000000..1366f1f72
--- /dev/null
+++ b/test/scripts/3460-plaintext-OpenSSL/3461
@@ -0,0 +1,14 @@
+# TLS (server: AUTH PLAIN + TLS with multiple messages)
+exim -DSERVER=server -bd -oX PORT_D
+****
+exim userx@test.ex
+Test message 1
+****
+exim userx@test.ex
+Test message 2
+****
+exim -qqf
+****
+killdaemon
+exim -DSERVER=server -DNOTDAEMON -qf
+****
diff --git a/test/scripts/3460-plaintext-OpenSSL/3462 b/test/scripts/3460-plaintext-OpenSSL/3462
new file mode 100644
index 000000000..7f4d94e4e
--- /dev/null
+++ b/test/scripts/3460-plaintext-OpenSSL/3462
@@ -0,0 +1,14 @@
+# TLS (server: AUTH LOGIN + TLS with multiple messages)
+exim -DSERVER=server -bd -oX PORT_D
+****
+exim userx@test.ex
+Test message 1
+****
+exim userx@test.ex
+Test message 2
+****
+exim -qqf
+****
+killdaemon
+exim -DSERVER=server -DNOTDAEMON -qf
+****
diff --git a/test/scripts/3460-plaintext-OpenSSL/3463 b/test/scripts/3460-plaintext-OpenSSL/3463
new file mode 100644
index 000000000..e2de70bb2
--- /dev/null
+++ b/test/scripts/3460-plaintext-OpenSSL/3463
@@ -0,0 +1,43 @@
+# TLS (server: tls_remember_esmtp)
+exim -DSERVER=server -bd -oX PORT_D
+****
+client-ssl 127.0.0.1 PORT_D
+??? 220
+ehlo foobar
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+starttls
+??? 220
+auth plain AHVzZXJ4AHNlY3JldA==
+??? 503
+mail from:<x@y> size=1234
+??? 501
+quit
+??? 221
+****
+killdaemon
+exim -DSERVER=server -DREMEMBER=true -bd -oX PORT_D
+****
+client-ssl 127.0.0.1 PORT_D
+??? 220
+ehlo foobar
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+starttls
+??? 220
+auth plain AHVzZXJ4AHNlY3JldA==
+??? 235
+mail from:<x@y> size=1234
+??? 250
+quit
+??? 221
+****
+killdaemon
diff --git a/test/scripts/3460-plaintext-OpenSSL/REQUIRES b/test/scripts/3460-plaintext-OpenSSL/REQUIRES
new file mode 100644
index 000000000..264909808
--- /dev/null
+++ b/test/scripts/3460-plaintext-OpenSSL/REQUIRES
@@ -0,0 +1,3 @@
+support OpenSSL
+authenticator plaintext
+running IPv4