diff options
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/3400-plaintext/3401 | 46 | ||||
-rw-r--r-- | test/scripts/3400-plaintext/3404 | 2 |
2 files changed, 48 insertions, 0 deletions
diff --git a/test/scripts/3400-plaintext/3401 b/test/scripts/3400-plaintext/3401 index b3e7c6a0a..590ae4333 100644 --- a/test/scripts/3400-plaintext/3401 +++ b/test/scripts/3400-plaintext/3401 @@ -138,4 +138,50 @@ QUIT exim -odi forcesender@domain.com . **** +# Bad basd64 from server; client aborts +server PORT_S +220 ESMTP +EHLO +250-OK +250-HELP +250 AUTH LOGIN +AUTH LOGIN +334 User? +* +501 Authentication cancelled +MAIL FROM: +550 Not now +QUIT +250 OK +**** +exim -odi userx@domain.com +. +**** +# Test the server challenges in $auth<n> +server PORT_S +220 ESMTP +EHLO +250-OK +250-HELP +250 AUTH XLOGIN +AUTH XLOGIN +334 Y2hhbGxlbmdlLTE= +Y2hhbGxlbmdlLTE= +334 YW5vdGhlcm9uZQ== +Y2hhbGxlbmdlLTErYW5vdGhlcm9uZQ== +235 Authentication successful +MAIL FROM: +250 Sender OK +RCPT TO: +250 Recipient OK +DATA +354 Send data +. +250 OK +QUIT +250 OK +**** +exim -odi userx@domain.com +. +**** no_msglog_check diff --git a/test/scripts/3400-plaintext/3404 b/test/scripts/3400-plaintext/3404 index 98f737eac..6f67b8512 100644 --- a/test/scripts/3400-plaintext/3404 +++ b/test/scripts/3400-plaintext/3404 @@ -45,6 +45,8 @@ QUIT exim -v -oMas xxx@yyy -oMai zzz -odi userx@domain.com . **** +# The server prompts sent here are not b64 encoded; hence they test +# client_ignore_invalid_base64. server PORT_S 220 ESMTP EHLO |