summaryrefslogtreecommitdiff
path: root/test/scripts/9350-Dovecot/9350
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/9350-Dovecot/9350')
-rw-r--r--test/scripts/9350-Dovecot/935048
1 files changed, 48 insertions, 0 deletions
diff --git a/test/scripts/9350-Dovecot/9350 b/test/scripts/9350-Dovecot/9350
index 55b6c1e42..3325f246c 100644
--- a/test/scripts/9350-Dovecot/9350
+++ b/test/scripts/9350-Dovecot/9350
@@ -1,6 +1,7 @@
# Dovecot authentication (server only)
exim -DSERVER=server -bd -oX PORT_D
****
+# Try without TLS
client -t3 127.0.0.1 PORT_D
??? 220
EHLO xxxx
@@ -8,6 +9,53 @@ EHLO xxxx
??? 250-
??? 250-
??? 250-
+??? 250-
+??? 250
+AUTH PLAIN AHVzZXJ4AHNlY3JldA==
+??? 535
+quit
+??? 221
+****
+# TLS, but no client certificate
+client-gnutls -t3 127.0.0.1 PORT_D
+??? 220
+EHLO xxxx
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+STARTTLS
+??? 220
+EHLO xxxx
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+AUTH PLAIN AHVzZXJ4AHNlY3JldA==
+??? 535
+quit
+??? 221
+****
+# TLS with client certificate
+client-gnutls -t3 HOSTIPV4 PORT_D DIR/aux-fixed/cert2 DIR/aux-fixed/cert2
+??? 220
+EHLO xxxx
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+STARTTLS
+??? 220
+EHLO xxxx
+??? 250-
+??? 250-
+??? 250-
+??? 250-
??? 250
AUTH PLAIN AHVzZXJ4AHNlY3JldA==
??? 535