mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
e4670a1029
Corrected line endings, RFC references and standardised on user names and passwords used in the tests.
55 lines
769 B
Plaintext
55 lines
769 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SMTP
|
|
SMTP AUTH LOGIN SASL-IR
|
|
RFC4954
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
AUTH LOGIN
|
|
REPLY AUTH 334 UGFzc3dvcmQ6
|
|
REPLY c2VjcmV0 235 Authenticated
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
smtp
|
|
</server>
|
|
<name>
|
|
SMTP login authentication with initial response
|
|
</name>
|
|
<stdin>
|
|
mail body
|
|
</stdin>
|
|
<command>
|
|
smtp://%HOSTIP:%SMTPPORT/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
EHLO 920
|
|
AUTH LOGIN dXNlcg==
|
|
c2VjcmV0
|
|
MAIL FROM:<sender@example.com>
|
|
RCPT TO:<recipient@example.com>
|
|
DATA
|
|
QUIT
|
|
</protocol>
|
|
<upload>
|
|
mail body
|
|
.
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|