summaryrefslogtreecommitdiff
path: root/test/scripts/9350-Dovecot
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-16 13:43:21 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-16 13:43:21 +0000
commit7befa435e5664f43d90bf5a2703fcf4f2a26139e (patch)
treed7a68a4c1938902e3cf52ca953b332b211c44338 /test/scripts/9350-Dovecot
parentbb7277654ad306e5385a0ae779761504f8012e08 (diff)
Update Dovecot authenticator to (a) lock out tabs (b) add extra
parameters "secured" and "valid-client-cert" when relevant.
Diffstat (limited to 'test/scripts/9350-Dovecot')
-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