]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - test/scripts/1100-Basic-TLS/1103
hosts_require_helo
[user/henk/code/exim.git] / test / scripts / 1100-Basic-TLS / 1103
index de97e32ef88bf1a040dba0a88f0b1b4594238b2d..734780f4d9ca9b9fbb93af092c774ef1d225b237 100644 (file)
@@ -1,21 +1,56 @@
-# TLS client: creds caching
-#
-#
-mkdir -p DIR/tmp/certs
-cp DIR/aux-fixed/cert1 DIR/tmp/certs/servercert
-cp DIR/aux-fixed/cert1 DIR/tmp/certs/serverkey
-#
-# load up one message in the queue
-exim test@example.com
+# TLS server: unavailable cipher
+gnutls
+exim -DSERVER=server -bd -oX PORT_D
 ****
-#
-# start the daemon, with a queue-run interval
-# this will send the queued message and the receive will re-queue it
-#exim -d-all+tls+receive+timestamp -DSERVER=server -bd -q7s -oX PORT_D
-exim -DSERVER=server -bd -q7s -oX PORT_D
+client-anytls HOSTIPV4 PORT_D
+??? 220
+ehlo rhu.barb
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+starttls
+??? 220
+ehlo test
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+mail from:<userx@test.ex>
+??? 250
+rcpt to:<userx@test.ex>
+??? 550
+quit
+??? 221
+****
+client-anytls 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
 ****
-sleep 1
 killdaemon
-#
-sudo rm -fr DIR/tmp
-no_msglog_check
+exim -qf
+****