From b53c265b5c7825d7fb6bb672547c44d080459d71 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 5 Jan 2019 20:40:08 +0000 Subject: EXTERNAL authenticator (cherry picked from commit c4a8c663b74a35b547d8320547079ca56b3b772e) --- test/scripts/3720-external-auth-GnuTLS/3720 | 38 ++++++++++++++++++++++++ test/scripts/3720-external-auth-GnuTLS/REQUIRES | 2 ++ test/scripts/3721-external-auth-OpenSSL/3721 | 38 ++++++++++++++++++++++++ test/scripts/3721-external-auth-OpenSSL/REQUIRES | 2 ++ 4 files changed, 80 insertions(+) create mode 100644 test/scripts/3720-external-auth-GnuTLS/3720 create mode 100644 test/scripts/3720-external-auth-GnuTLS/REQUIRES create mode 100644 test/scripts/3721-external-auth-OpenSSL/3721 create mode 100644 test/scripts/3721-external-auth-OpenSSL/REQUIRES (limited to 'test/scripts') diff --git a/test/scripts/3720-external-auth-GnuTLS/3720 b/test/scripts/3720-external-auth-GnuTLS/3720 new file mode 100644 index 000000000..49d95205e --- /dev/null +++ b/test/scripts/3720-external-auth-GnuTLS/3720 @@ -0,0 +1,38 @@ +# External authentication (server & client) +munge tls_anycipher +# +exim -DSERVER=server -bd -oX PORT_D +**** +# +# +client-gnutls 127.0.0.1 PORT_D 127.0.0.1 DIR/aux-fixed/cert2 DIR/aux-fixed/cert2 +??? 220 +EHLO tester +??? 250- +??? 250- +??? 250- +??? 250- +??? 250-STARTTLS +??? 250 HELP +STARTTLS +??? 220 +EHLO tester +??? 250- +??? 250- +??? 250- +??? 250- +??? 250-AUTH EXTERNAL +??? 250 HELP +AUTH EXTERNAL UGhpbCBQZW5ub2Nr +??? 235 +quit +??? 221 +**** +# +exim -f ok@test.ex x@y +**** +exim -q +**** +# +killdaemon +no_msglog_check diff --git a/test/scripts/3720-external-auth-GnuTLS/REQUIRES b/test/scripts/3720-external-auth-GnuTLS/REQUIRES new file mode 100644 index 000000000..9e358e2ac --- /dev/null +++ b/test/scripts/3720-external-auth-GnuTLS/REQUIRES @@ -0,0 +1,2 @@ +authenticator external +support GnuTLS diff --git a/test/scripts/3721-external-auth-OpenSSL/3721 b/test/scripts/3721-external-auth-OpenSSL/3721 new file mode 100644 index 000000000..310b8d2ae --- /dev/null +++ b/test/scripts/3721-external-auth-OpenSSL/3721 @@ -0,0 +1,38 @@ +# External authentication (server & client) +munge tls_anycipher +# +exim -DSERVER=server -bd -oX PORT_D +**** +# +# +client-ssl 127.0.0.1 PORT_D 127.0.0.1 DIR/aux-fixed/cert2 DIR/aux-fixed/cert2 +??? 220 +EHLO tester +??? 250- +??? 250- +??? 250- +??? 250- +??? 250-STARTTLS +??? 250 HELP +STARTTLS +??? 220 +EHLO tester +??? 250- +??? 250- +??? 250- +??? 250- +??? 250-AUTH EXTERNAL +??? 250 HELP +AUTH EXTERNAL UGhpbCBQZW5ub2Nr +??? 235 +quit +??? 221 +**** +# +exim -f ok@test.ex x@y +**** +exim -q +**** +# +killdaemon +no_msglog_check diff --git a/test/scripts/3721-external-auth-OpenSSL/REQUIRES b/test/scripts/3721-external-auth-OpenSSL/REQUIRES new file mode 100644 index 000000000..c0a56a293 --- /dev/null +++ b/test/scripts/3721-external-auth-OpenSSL/REQUIRES @@ -0,0 +1,2 @@ +authenticator external +support OpenSSL -- cgit v1.2.3