tests: Tidy up of SMTP and POP3 tests

Corrected line endings, RFC references and standardised on user names
and passwords used in the tests.
This commit is contained in:
Steve Holme
2013-10-26 13:44:31 +01:00
parent 1f0e50f2b9
commit e4670a1029
11 changed files with 24 additions and 21 deletions

View File

@@ -4,6 +4,7 @@
POP3 POP3
UIDL UIDL
CUSTOMREQUEST CUSTOMREQUEST
RFC2449
</keywords> </keywords>
</info> </info>

View File

@@ -4,6 +4,7 @@
POP3 POP3
TOP TOP
CUSTOMREQUEST CUSTOMREQUEST
RFC2449
</keywords> </keywords>
</info> </info>

View File

@@ -14,7 +14,7 @@ RFC4954
<servercmd> <servercmd>
AUTH PLAIN AUTH PLAIN
REPLY AUTH 334 PLAIN supported REPLY AUTH 334 PLAIN supported
REPLY dGVzdAB0ZXN0ADEyMzQ= 235 Authenticated REPLY dXNlcgB1c2VyAHNlY3JldA== 235 Authenticated
</servercmd> </servercmd>
</reply> </reply>
@@ -31,7 +31,7 @@ SMTP plain authentication
mail body mail body
</stdin> </stdin>
<command> <command>
smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 -T - smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command> </command>
</client> </client>
@@ -41,7 +41,7 @@ smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sende
<protocol> <protocol>
EHLO 903 EHLO 903
AUTH PLAIN AUTH PLAIN
dGVzdAB0ZXN0ADEyMzQ= dXNlcgB1c2VyAHNlY3JldA==
MAIL FROM:<sender@example.com> MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com> RCPT TO:<recipient@example.com>
DATA DATA

View File

@@ -13,8 +13,8 @@ RFC4954
<servercmd> <servercmd>
AUTH LOGIN AUTH LOGIN
REPLY AUTH 334 LOGIN supported REPLY AUTH 334 LOGIN supported
REPLY dGVzdA== 334 UGFzc3dvcmQ6 REPLY dXNlcg== 334 UGFzc3dvcmQ6
REPLY MTIzNA== 235 Authenticated REPLY c2VjcmV0 235 Authenticated
</servercmd> </servercmd>
</reply> </reply>
@@ -31,7 +31,7 @@ SMTP login authentication
mail body mail body
</stdin> </stdin>
<command> <command>
smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 -T - smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
</command> </command>
</client> </client>
@@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sende
<protocol> <protocol>
EHLO 904 EHLO 904
AUTH LOGIN AUTH LOGIN
dGVzdA== dXNlcg==
MTIzNA== c2VjcmV0
MAIL FROM:<sender@example.com> MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com> RCPT TO:<recipient@example.com>
DATA DATA

View File

@@ -3,6 +3,7 @@
<keywords> <keywords>
SMTP SMTP
SMTP AUTH NTLM SMTP AUTH NTLM
RFC4954
</keywords> </keywords>
</info> </info>

View File

@@ -30,7 +30,7 @@ SMTP plain authentication with initial response
mail body mail body
</stdin> </stdin>
<command> <command>
smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 --sasl-ir -T - smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
</command> </command>
</client> </client>
@@ -39,7 +39,7 @@ smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sende
<verify> <verify>
<protocol> <protocol>
EHLO 919 EHLO 919
AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ= AUTH PLAIN dXNlcgB1c2VyAHNlY3JldA==
MAIL FROM:<sender@example.com> MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com> RCPT TO:<recipient@example.com>
DATA DATA

View File

@@ -13,7 +13,7 @@ RFC4954
<servercmd> <servercmd>
AUTH LOGIN AUTH LOGIN
REPLY AUTH 334 UGFzc3dvcmQ6 REPLY AUTH 334 UGFzc3dvcmQ6
REPLY MTIzNA== 235 Authenticated REPLY c2VjcmV0 235 Authenticated
</servercmd> </servercmd>
</reply> </reply>
@@ -30,7 +30,7 @@ SMTP login authentication with initial response
mail body mail body
</stdin> </stdin>
<command> <command>
smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u test:1234 --sasl-ir -T - smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
</command> </command>
</client> </client>
@@ -39,8 +39,8 @@ smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sende
<verify> <verify>
<protocol> <protocol>
EHLO 920 EHLO 920
AUTH LOGIN dGVzdA== AUTH LOGIN dXNlcg==
MTIzNA== c2VjcmV0
MAIL FROM:<sender@example.com> MAIL FROM:<sender@example.com>
RCPT TO:<recipient@example.com> RCPT TO:<recipient@example.com>
DATA DATA