summaryrefslogtreecommitdiff
path: root/test/scripts/1100-Basic-TLS/1110
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/1100-Basic-TLS/1110')
-rw-r--r--test/scripts/1100-Basic-TLS/111041
1 files changed, 41 insertions, 0 deletions
diff --git a/test/scripts/1100-Basic-TLS/1110 b/test/scripts/1100-Basic-TLS/1110
new file mode 100644
index 000000000..865b2202f
--- /dev/null
+++ b/test/scripts/1100-Basic-TLS/1110
@@ -0,0 +1,41 @@
+# TLS server: -tls-on-connect
+gnutls
+exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
+****
+client-anytls -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-anytls -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
+****