summaryrefslogtreecommitdiff
path: root/test/scripts/3500-CRAM-MD5
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:54:33 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:54:33 +0000
commit59371ea735c941334861aa5b8e1e9a06facf044f (patch)
tree79168561a70a94a3994fbe362b904ff9aab86136 /test/scripts/3500-CRAM-MD5
parent54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e (diff)
Hopefully the final lot of test files.
Diffstat (limited to 'test/scripts/3500-CRAM-MD5')
-rw-r--r--test/scripts/3500-CRAM-MD5/350035
-rw-r--r--test/scripts/3500-CRAM-MD5/350128
-rw-r--r--test/scripts/3500-CRAM-MD5/REQUIRES1
3 files changed, 64 insertions, 0 deletions
diff --git a/test/scripts/3500-CRAM-MD5/3500 b/test/scripts/3500-CRAM-MD5/3500
new file mode 100644
index 000000000..b3d2c05aa
--- /dev/null
+++ b/test/scripts/3500-CRAM-MD5/3500
@@ -0,0 +1,35 @@
+# CRAM-MD5 server tests
+
+exim -odi -bs -oMa 10.0.0.1
+ehlo test.host
+AUTH CRAM-MD5
+dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw
+mail from:<userx@some.domain>
+rcpt to:<userx@test.ex>
+data
+Testing authenticated CRAM-MD5.
+.
+quit
+****
+exim -odi -bs -oMa 10.0.0.1
+ehlo test.host
+AUTH CRAM-MD5
+dXNlcnggNzMzYmE4N2U2NGVkN2U0NDFmMDYyYzRhYzZkYjAxMDM=
+quit
+****
+exim -bh 10.0.0.4
+ehlo test.host
+quit
+****
+exim -bh 10.0.0.1
+ehlo test.host
+AUTH CRAM-MD5
+dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw
+mail from:<userx@some.domain>
+rcpt to:<userx@test.ex>
+data
+Testing authenticated CRAM-MD5.
+.
+quit
+****
+no_msglog_check
diff --git a/test/scripts/3500-CRAM-MD5/3501 b/test/scripts/3500-CRAM-MD5/3501
new file mode 100644
index 000000000..d9a27278c
--- /dev/null
+++ b/test/scripts/3500-CRAM-MD5/3501
@@ -0,0 +1,28 @@
+# CRAM-MD5 client tests
+need_ipv4
+#
+server PORT_S
+220 ESMTP
+EHLO
+250-OK
+250-HELP
+250 AUTH CRAM-MD5
+AUTH CRAM-MD5
+334 PDE4OTYuNjk3MTcwOTUyQHBvc3RvZmZpY2UucmVzdG9uLm1jaS5uZXQ+
+dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw
+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/3500-CRAM-MD5/REQUIRES b/test/scripts/3500-CRAM-MD5/REQUIRES
new file mode 100644
index 000000000..93ec9fe82
--- /dev/null
+++ b/test/scripts/3500-CRAM-MD5/REQUIRES
@@ -0,0 +1 @@
+authenticator cram_md5