summaryrefslogtreecommitdiff
path: root/test/scripts/3450-plaintext-GnuTLS
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/3450-plaintext-GnuTLS')
-rw-r--r--test/scripts/3450-plaintext-GnuTLS/345043
-rw-r--r--test/scripts/3450-plaintext-GnuTLS/345115
-rw-r--r--test/scripts/3450-plaintext-GnuTLS/345215
-rw-r--r--test/scripts/3450-plaintext-GnuTLS/345344
-rw-r--r--test/scripts/3450-plaintext-GnuTLS/REQUIRES3
5 files changed, 120 insertions, 0 deletions
diff --git a/test/scripts/3450-plaintext-GnuTLS/3450 b/test/scripts/3450-plaintext-GnuTLS/3450
new file mode 100644
index 000000000..bb50a3e9c
--- /dev/null
+++ b/test/scripts/3450-plaintext-GnuTLS/3450
@@ -0,0 +1,43 @@
+# TLS (server: TLS required before AUTH)
+gnutls
+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/3450-plaintext-GnuTLS/3451 b/test/scripts/3450-plaintext-GnuTLS/3451
new file mode 100644
index 000000000..762366324
--- /dev/null
+++ b/test/scripts/3450-plaintext-GnuTLS/3451
@@ -0,0 +1,15 @@
+# TLS (server: AUTH PLAIN + TLS with multiple messages)
+gnutls
+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/3450-plaintext-GnuTLS/3452 b/test/scripts/3450-plaintext-GnuTLS/3452
new file mode 100644
index 000000000..5cb7dd4f5
--- /dev/null
+++ b/test/scripts/3450-plaintext-GnuTLS/3452
@@ -0,0 +1,15 @@
+# TLS (server: AUTH LOGIN + TLS with multiple messages)
+gnutls
+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/3450-plaintext-GnuTLS/3453 b/test/scripts/3450-plaintext-GnuTLS/3453
new file mode 100644
index 000000000..cf99cd896
--- /dev/null
+++ b/test/scripts/3450-plaintext-GnuTLS/3453
@@ -0,0 +1,44 @@
+# TLS (server: tls_remember_esmtp)
+gnutls
+exim -DSERVER=server -bd -oX PORT_D
+****
+client-gnutls 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-gnutls 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/3450-plaintext-GnuTLS/REQUIRES b/test/scripts/3450-plaintext-GnuTLS/REQUIRES
new file mode 100644
index 000000000..eec18be19
--- /dev/null
+++ b/test/scripts/3450-plaintext-GnuTLS/REQUIRES
@@ -0,0 +1,3 @@
+support GnuTLS
+authenticator plaintext
+running IPv4