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:
Родитель
1f0e50f2b9
Коммит
e4670a1029
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
POP3
|
||||
LOGIN
|
||||
LOGIN
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
POP3
|
||||
DELE
|
||||
CUSTOMREQUEST
|
||||
CUSTOMREQUEST
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
POP3
|
||||
STAT
|
||||
CUSTOMREQUEST
|
||||
CUSTOMREQUEST
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
POP3
|
||||
NOOP
|
||||
CUSTOMREQUEST
|
||||
CUSTOMREQUEST
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<keywords>
|
||||
POP3
|
||||
UIDL
|
||||
CUSTOMREQUEST
|
||||
CUSTOMREQUEST
|
||||
RFC2449
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<keywords>
|
||||
POP3
|
||||
TOP
|
||||
CUSTOMREQUEST
|
||||
CUSTOMREQUEST
|
||||
RFC2449
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ RFC4954
|
|||
<servercmd>
|
||||
AUTH PLAIN
|
||||
REPLY AUTH 334 PLAIN supported
|
||||
REPLY dGVzdAB0ZXN0ADEyMzQ= 235 Authenticated
|
||||
REPLY dXNlcgB1c2VyAHNlY3JldA== 235 Authenticated
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
|
@ -31,7 +31,7 @@ SMTP plain authentication
|
|||
mail body
|
||||
</stdin>
|
||||
<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>
|
||||
</client>
|
||||
|
||||
|
@ -41,7 +41,7 @@ smtp://%HOSTIP:%SMTPPORT/903 --mail-rcpt recipient@example.com --mail-from sende
|
|||
<protocol>
|
||||
EHLO 903
|
||||
AUTH PLAIN
|
||||
dGVzdAB0ZXN0ADEyMzQ=
|
||||
dXNlcgB1c2VyAHNlY3JldA==
|
||||
MAIL FROM:<sender@example.com>
|
||||
RCPT TO:<recipient@example.com>
|
||||
DATA
|
||||
|
|
|
@ -12,9 +12,9 @@ RFC4954
|
|||
<reply>
|
||||
<servercmd>
|
||||
AUTH LOGIN
|
||||
REPLY AUTH 334 LOGIN supported
|
||||
REPLY dGVzdA== 334 UGFzc3dvcmQ6
|
||||
REPLY MTIzNA== 235 Authenticated
|
||||
REPLY AUTH 334 LOGIN supported
|
||||
REPLY dXNlcg== 334 UGFzc3dvcmQ6
|
||||
REPLY c2VjcmV0 235 Authenticated
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
|
@ -31,7 +31,7 @@ SMTP login authentication
|
|||
mail body
|
||||
</stdin>
|
||||
<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>
|
||||
</client>
|
||||
|
||||
|
@ -41,8 +41,8 @@ smtp://%HOSTIP:%SMTPPORT/904 --mail-rcpt recipient@example.com --mail-from sende
|
|||
<protocol>
|
||||
EHLO 904
|
||||
AUTH LOGIN
|
||||
dGVzdA==
|
||||
MTIzNA==
|
||||
dXNlcg==
|
||||
c2VjcmV0
|
||||
MAIL FROM:<sender@example.com>
|
||||
RCPT TO:<recipient@example.com>
|
||||
DATA
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<keywords>
|
||||
SMTP
|
||||
SMTP AUTH NTLM
|
||||
RFC4954
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ SMTP plain authentication with initial response
|
|||
mail body
|
||||
</stdin>
|
||||
<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>
|
||||
</client>
|
||||
|
||||
|
@ -39,7 +39,7 @@ smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sende
|
|||
<verify>
|
||||
<protocol>
|
||||
EHLO 919
|
||||
AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ=
|
||||
AUTH PLAIN dXNlcgB1c2VyAHNlY3JldA==
|
||||
MAIL FROM:<sender@example.com>
|
||||
RCPT TO:<recipient@example.com>
|
||||
DATA
|
||||
|
|
|
@ -13,7 +13,7 @@ RFC4954
|
|||
<servercmd>
|
||||
AUTH LOGIN
|
||||
REPLY AUTH 334 UGFzc3dvcmQ6
|
||||
REPLY MTIzNA== 235 Authenticated
|
||||
REPLY c2VjcmV0 235 Authenticated
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
|
@ -30,7 +30,7 @@ SMTP login authentication with initial response
|
|||
mail body
|
||||
</stdin>
|
||||
<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>
|
||||
</client>
|
||||
|
||||
|
@ -39,8 +39,8 @@ smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sende
|
|||
<verify>
|
||||
<protocol>
|
||||
EHLO 920
|
||||
AUTH LOGIN dGVzdA==
|
||||
MTIzNA==
|
||||
AUTH LOGIN dXNlcg==
|
||||
c2VjcmV0
|
||||
MAIL FROM:<sender@example.com>
|
||||
RCPT TO:<recipient@example.com>
|
||||
DATA
|
||||
|
|
Загрузка…
Ссылка в новой задаче