tests: Updated CRAM-MD5 tests to use test user details

This commit is contained in:
Steve Holme
2013-11-12 09:42:59 +00:00
parent fa1253aee1
commit 5f34a10445
2 changed files with 8 additions and 8 deletions

View File

@@ -14,8 +14,8 @@ RFC5034
<reply> <reply>
<servercmd> <servercmd>
AUTH CRAM-MD5 AUTH CRAM-MD5
REPLY AUTH + PDE4OTYuNjk3MTcwOTUyQHBvc3RvZmZpY2UucmVzdG9uLm1jaS5uZXQ+ REPLY AUTH + PDE5NzIuOTg3NjU0MzIxQGN1cmw+
REPLY dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw +OK Login successful REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== +OK Login successful
</servercmd> </servercmd>
<data> <data>
From: me@somewhere From: me@somewhere
@@ -41,7 +41,7 @@ crypto
POP3 CRAM-MD5 authentication POP3 CRAM-MD5 authentication
</name> </name>
<command> <command>
pop3://%HOSTIP:%POP3PORT/867 -u tim:tanstaaftanstaaf pop3://%HOSTIP:%POP3PORT/867 -u user:secret
</command> </command>
</client> </client>
@@ -51,7 +51,7 @@ pop3://%HOSTIP:%POP3PORT/867 -u tim:tanstaaftanstaaf
<protocol> <protocol>
CAPA CAPA
AUTH CRAM-MD5 AUTH CRAM-MD5
dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==
RETR 867 RETR 867
QUIT QUIT
</protocol> </protocol>

View File

@@ -13,8 +13,8 @@ RFC4954
<reply> <reply>
<servercmd> <servercmd>
AUTH CRAM-MD5 AUTH CRAM-MD5
REPLY AUTH 334 PDE4OTYuNjk3MTcwOTUyQHBvc3RvZmZpY2UucmVzdG9uLm1jaS5uZXQ+ REPLY AUTH 334 PDE5NzIuOTg3NjU0MzIxQGN1cmw+
REPLY dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw 235 Authenticated REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== 235 Authenticated
</servercmd> </servercmd>
</reply> </reply>
@@ -34,7 +34,7 @@ SMTP CRAM-MD5 authentication
mail body mail body
</stdin> </stdin>
<command> <command>
smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u tim:tanstaaftanstaaf -T - smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command> </command>
</client> </client>
@@ -44,7 +44,7 @@ smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sende
<protocol> <protocol>
EHLO 905 EHLO 905
AUTH CRAM-MD5 AUTH CRAM-MD5
dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg==
MAIL FROM:<sender@example.com> MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com> RCPT TO:<recipient@example.com>
DATA DATA