From 7befa435e5664f43d90bf5a2703fcf4f2a26139e Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Mon, 16 Oct 2006 13:43:21 +0000 Subject: Update Dovecot authenticator to (a) lock out tabs (b) add extra parameters "secured" and "valid-client-cert" when relevant. --- test/scripts/9350-Dovecot/9350 | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'test/scripts/9350-Dovecot') 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 -- cgit v1.2.3