summaryrefslogtreecommitdiff
path: root/test/scripts/2100-OpenSSL
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-01-21 13:06:31 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-01-21 17:33:35 +0000
commit0240e7a160721a53365aaa3bd10bb6f3de3f9f15 (patch)
tree6ad59913243585bc5dc451b22063f3ffcba195cd /test/scripts/2100-OpenSSL
parent4718c75d346777872c87ff7d4fe0431487e618c4 (diff)
Testsuite: TLS server testcase consolidation
Diffstat (limited to 'test/scripts/2100-OpenSSL')
-rw-r--r--test/scripts/2100-OpenSSL/210349
-rw-r--r--test/scripts/2100-OpenSSL/210443
-rw-r--r--test/scripts/2100-OpenSSL/210528
-rw-r--r--test/scripts/2100-OpenSSL/210617
-rw-r--r--test/scripts/2100-OpenSSL/211518
-rw-r--r--test/scripts/2100-OpenSSL/211844
-rw-r--r--test/scripts/2100-OpenSSL/211940
-rw-r--r--test/scripts/2100-OpenSSL/212221
-rw-r--r--test/scripts/2100-OpenSSL/21236
-rw-r--r--test/scripts/2100-OpenSSL/212832
-rw-r--r--test/scripts/2100-OpenSSL/213011
-rw-r--r--test/scripts/2100-OpenSSL/219071
-rw-r--r--test/scripts/2100-OpenSSL/219914
13 files changed, 0 insertions, 394 deletions
diff --git a/test/scripts/2100-OpenSSL/2103 b/test/scripts/2100-OpenSSL/2103
deleted file mode 100644
index 1018c4eb4..000000000
--- a/test/scripts/2100-OpenSSL/2103
+++ /dev/null
@@ -1,49 +0,0 @@
-# TLS server: unavailable cipher
-exim -DSERVER=server -bd -oX PORT_D
-****
-client-ssl HOSTIPV4 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls
-??? 220
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 550
-quit
-??? 221
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls
-??? 220
-helo rhu.barb
-??? 250
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 250
-DATA
-??? 3
-This is a test encrypted message.
-.
-??? 250
-quit
-??? 221
-****
-killdaemon
-exim -qf
-****
diff --git a/test/scripts/2100-OpenSSL/2104 b/test/scripts/2100-OpenSSL/2104
deleted file mode 100644
index 55e54ddeb..000000000
--- a/test/scripts/2100-OpenSSL/2104
+++ /dev/null
@@ -1,43 +0,0 @@
-# TLS server: TLS required
-exim -DSERVER=server -bd -oX PORT_D
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 550
-quit
-??? 221
-****
-client-ssl HOSTIPV4 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 250
-DATA
-??? 3
-This is a test unencrypted message.
-.
-??? 250
-quit
-??? 221
-****
-killdaemon
-exim -qf
-****
diff --git a/test/scripts/2100-OpenSSL/2105 b/test/scripts/2100-OpenSSL/2105
deleted file mode 100644
index 130fa48d9..000000000
--- a/test/scripts/2100-OpenSSL/2105
+++ /dev/null
@@ -1,28 +0,0 @@
-# TLS server: accept for relay if encrypted
-exim -DSERVER=server -bd -oX PORT_D
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@remote.test.ex>
-??? 550
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls
-??? 220
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@remote.test.ex>
-??? 250
-quit
-??? 221
-****
-killdaemon
-exim -qf
-****
diff --git a/test/scripts/2100-OpenSSL/2106 b/test/scripts/2100-OpenSSL/2106
deleted file mode 100644
index 3e36603a9..000000000
--- a/test/scripts/2100-OpenSSL/2106
+++ /dev/null
@@ -1,17 +0,0 @@
-# TLS server: timeout in TLS session
-exim -DSERVER=server -bd -oX PORT_D
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls
-??? 220
-+++ 3
-****
-killdaemon
diff --git a/test/scripts/2100-OpenSSL/2115 b/test/scripts/2100-OpenSSL/2115
deleted file mode 100644
index 9ecefdbac..000000000
--- a/test/scripts/2100-OpenSSL/2115
+++ /dev/null
@@ -1,18 +0,0 @@
-# TLS server: timeout after accepting STARTTLS
-exim -DSERVER=server -bd -oX PORT_D
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls_wait
-??? 220
-+++ 2
-??? 421
-****
-killdaemon
diff --git a/test/scripts/2100-OpenSSL/2118 b/test/scripts/2100-OpenSSL/2118
deleted file mode 100644
index 281060ca8..000000000
--- a/test/scripts/2100-OpenSSL/2118
+++ /dev/null
@@ -1,44 +0,0 @@
-# TLS: ACL encryption test
-exim -DSERVER=server -bd -oX PORT_D
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls
-??? 220
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 250
-DATA
-??? 3
-This is a test encrypted message.
-.
-??? 250
-quit
-??? 221
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 550
-quit
-??? 221
-****
-killdaemon
-no_msglog_check
diff --git a/test/scripts/2100-OpenSSL/2119 b/test/scripts/2100-OpenSSL/2119
deleted file mode 100644
index 1ad9befd7..000000000
--- a/test/scripts/2100-OpenSSL/2119
+++ /dev/null
@@ -1,40 +0,0 @@
-# TLS server: -tls-on-connect
-exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
-****
-client-ssl -tls-on-connect 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 250
-DATA
-??? 3
-This is a test encrypted message.
-.
-??? 250
-quit
-??? 221
-****
-client-ssl -tls-on-connect HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
-??? 220
-mail from:<userx@test.ex>
-??? 250
-rcpt to:<userx@test.ex>
-??? 250
-DATA
-??? 3
-This is a test encrypted message from a verified host.
-.
-??? 250
-quit
-??? 221
-****
-killdaemon
-exim -qf
-****
diff --git a/test/scripts/2100-OpenSSL/2122 b/test/scripts/2100-OpenSSL/2122
deleted file mode 100644
index b93013962..000000000
--- a/test/scripts/2100-OpenSSL/2122
+++ /dev/null
@@ -1,21 +0,0 @@
-# TLS server: help command in encrypted session
-exim -DSERVER=server -bd -oX PORT_D
-****
-client-ssl HOSTIPV4 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls
-??? 220
-help
-??? 214-
-??? 214
-quit
-??? 221
-****
-killdaemon
diff --git a/test/scripts/2100-OpenSSL/2123 b/test/scripts/2100-OpenSSL/2123
deleted file mode 100644
index 927c266c6..000000000
--- a/test/scripts/2100-OpenSSL/2123
+++ /dev/null
@@ -1,6 +0,0 @@
-# TLS: ACL for STARTTLS
-exim -bs -oMa 10.9.8.10
-ehlo a.b.c
-starttls
-quit
-****
diff --git a/test/scripts/2100-OpenSSL/2128 b/test/scripts/2100-OpenSSL/2128
deleted file mode 100644
index b9d781a28..000000000
--- a/test/scripts/2100-OpenSSL/2128
+++ /dev/null
@@ -1,32 +0,0 @@
-# tls_on_connect_ports
-need_ipv4
-#
-exim -DSERVER=server -bd -oX PORT_D:PORT_D2:PORT_D3
-****
-client-ssl 127.0.0.1 PORT_D
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-starttls
-??? 220
-quit
-??? 221
-****
-client-ssl -tls-on-connect 127.0.0.1 PORT_D2
-??? 220
-ehlo rhu.barb
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
-quit
-??? 221
-****
-killdaemon
-no_msglog_check
diff --git a/test/scripts/2100-OpenSSL/2130 b/test/scripts/2100-OpenSSL/2130
deleted file mode 100644
index afaa949e0..000000000
--- a/test/scripts/2100-OpenSSL/2130
+++ /dev/null
@@ -1,11 +0,0 @@
-# TLS: client SNI
-#
-exim -DSERVER=server -bd -oX PORT_D
-****
-# Basic: is SNI set on tpt seen by server
-exim CALLER@test.ex
-Test message.
-****
-millisleep 500
-killdaemon
-sleep 2
diff --git a/test/scripts/2100-OpenSSL/2190 b/test/scripts/2100-OpenSSL/2190
deleted file mode 100644
index e004e5e02..000000000
--- a/test/scripts/2100-OpenSSL/2190
+++ /dev/null
@@ -1,71 +0,0 @@
-# TLS server, CHUNKING reception
-exim -DSERVER=server -DSRV=tls -bd -oX PORT_D
-****
-#
-# non-piplined
-client-ssl 127.0.0.1 PORT_D
-??? 220
-EHLO rhu.barb
-??? 250-
-??? 250-SIZE
-??? 250-8BITMIME
-??? 250-PIPELINING
-??? 250-CHUNKING
-??? 250-STARTTLS
-??? 250 HELP
-STARTTLS
-??? 220
-EHLO rhu.barb
-??? 250-
-??? 250-SIZE
-??? 250-8BITMIME
-??? 250-PIPELINING
-??? 250-CHUNKING
-??? 250 HELP
-MAIL FROM:<someone@some.domain>
-??? 250
-RCPT TO:<CALLER@test.ex>
-??? 250
-BDAT 88 LAST
-To: Susan@random.com
-From: Sam@random.com
-Subject: This is a bodyless test message
-
-??? 250-
-??? 250
-QUIT
-??? 221
-****
-#
-# pipelined
-client-ssl 127.0.0.1 PORT_D
-??? 220
-EHLO rhu.barb
-??? 250-
-??? 250-SIZE
-??? 250-8BITMIME
-??? 250-PIPELINING
-??? 250-CHUNKING
-??? 250-STARTTLS
-??? 250 HELP
-STARTTLS
-??? 220
-EHLO rhu.barb
-??? 250-
-??? 250-SIZE
-??? 250-8BITMIME
-??? 250-PIPELINING
-??? 250-CHUNKING
-??? 250 HELP
-MAIL FROM:<someone@some.domain>\r\nRCPT TO:<CALLER@test.ex>\r\nBDAT 88 LAST\r\nTo: Susan@random.com\r\nFrom: Sam@random.com\r\nSubject: This is a bodyless test message\r\n
-??? 250
-??? 250
-??? 250-
-??? 250
-QUIT
-??? 221
-****
-#
-#
-killdaemon
-no_msglog_check
diff --git a/test/scripts/2100-OpenSSL/2199 b/test/scripts/2100-OpenSSL/2199
deleted file mode 100644
index 632dc094b..000000000
--- a/test/scripts/2100-OpenSSL/2199
+++ /dev/null
@@ -1,14 +0,0 @@
-# ${readsocket (IPv4 TLS)
-need_ipv4
-#
-exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
-****
-#
-#
-millisleep 500
-exim -be
-1 >>${readsocket{inet:thisloop:PORT_D}{QUIT\n}{2s:tls=yes}}<<
-****
-millisleep 500
-#
-killdaemon