2013-04-27 08:04:02 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
2014-03-30 06:20:19 -04:00
|
|
|
SASL
|
2014-03-30 07:01:15 -04:00
|
|
|
SASL AUTH PLAIN
|
2014-03-15 06:13:13 -04:00
|
|
|
SASL-IR
|
2013-04-27 08:04:02 -04:00
|
|
|
RFC4616
|
|
|
|
RFC4954
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
2013-09-19 15:29:24 -04:00
|
|
|
AUTH PLAIN
|
2013-04-27 08:04:02 -04:00
|
|
|
REPLY AUTH 235 Authenticated
|
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP plain authentication with initial response
|
|
|
|
</name>
|
|
|
|
<stdin>
|
2013-04-28 11:12:40 -04:00
|
|
|
mail body
|
2013-04-27 08:04:02 -04:00
|
|
|
</stdin>
|
|
|
|
<command>
|
2013-10-26 08:44:31 -04:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/919 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
|
2013-04-27 08:04:02 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2013-10-25 14:17:15 -04:00
|
|
|
EHLO 919
|
2019-04-18 16:54:35 -04:00
|
|
|
AUTH PLAIN AHVzZXIAc2VjcmV0
|
2013-09-29 11:48:02 -04:00
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient@example.com>
|
2013-04-27 08:04:02 -04:00
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
2013-04-28 11:12:40 -04:00
|
|
|
mail body
|
2013-04-27 08:04:02 -04:00
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|