2014-03-30 09:55:27 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
SASL
|
|
|
|
SASL AUTH PLAIN
|
|
|
|
connection re-use
|
|
|
|
RFC4616
|
|
|
|
RFC4954
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
AUTH PLAIN
|
|
|
|
REPLY AUTH 334 PLAIN supported
|
|
|
|
REPLY dXNlci5vbmUAdXNlci5vbmUAc2VjcmV0 235 Authenticated
|
|
|
|
REPLY dXNlci50d28AdXNlci50d28Ac2VjcmV0 235 Authenticated
|
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP multiple connection authentication
|
|
|
|
</name>
|
2021-03-12 11:38:26 -05:00
|
|
|
<file name="log/upload%TESTNUMBER">
|
2014-03-30 09:55:27 -04:00
|
|
|
mail body
|
2014-03-30 17:32:09 -04:00
|
|
|
</file>
|
2014-03-30 09:55:27 -04:00
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER001 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.one:secret -T log/upload%TESTNUMBER -: smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER002 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user.two:secret -T log/upload%TESTNUMBER
|
2014-03-30 09:55:27 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-12 11:38:26 -05:00
|
|
|
EHLO %TESTNUMBER001
|
2014-03-30 09:55:27 -04:00
|
|
|
AUTH PLAIN
|
|
|
|
dXNlci5vbmUAdXNlci5vbmUAc2VjcmV0
|
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient@example.com>
|
|
|
|
DATA
|
|
|
|
QUIT
|
2021-03-12 11:38:26 -05:00
|
|
|
EHLO %TESTNUMBER002
|
2014-03-30 09:55:27 -04:00
|
|
|
AUTH PLAIN
|
|
|
|
dXNlci50d28AdXNlci50d28Ac2VjcmV0
|
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient@example.com>
|
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
|
|
|
mail body
|
|
|
|
.
|
|
|
|
</upload>
|
2015-03-20 20:27:44 -04:00
|
|
|
</verify>
|
|
|
|
</testcase>
|