From afbcfc4f46b9dfed2a62b765b48455d7b7d631a2 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 30 Mar 2014 14:55:27 +0100 Subject: tests: Added email unit tests to verify login credential connection re-use --- tests/data/test882 | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/data/test882 (limited to 'tests/data/test882') diff --git a/tests/data/test882 b/tests/data/test882 new file mode 100644 index 000000000..3e52836d2 --- /dev/null +++ b/tests/data/test882 @@ -0,0 +1,56 @@ + + + +POP3 +Clear Text +RETR +connection re-use + + + +# +# Server-side + + +REPLY "PASS secret" +OK Login successful + + +From: me@somewhere +To: fake@nowhere + +body + +-- + yours sincerely + + + +# +# Client-side + + +pop3 + + +POP3 multiple connection authentication + + +pop3://%HOSTIP:%POP3PORT/882001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/882002 -u user.two:secret + + + +# +# Verify data after the test has been "shot" + + +CAPA +USER user.one +PASS secret +RETR 882001 +QUIT +CAPA +USER user.two +PASS secret +RETR 882002 +QUIT + -- cgit v1.2.3