2015-01-27 12:03:56 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
SMTP
|
|
|
|
SASL
|
|
|
|
SASL AUTH EXTERNAL
|
|
|
|
SASL-IR
|
|
|
|
RFC4422
|
|
|
|
RFC4954
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
AUTH EXTERNAL
|
|
|
|
REPLY AUTH 235 Authenticated
|
|
|
|
</servercmd>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
smtp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
SMTP external authentication with initial response
|
|
|
|
</name>
|
|
|
|
<stdin>
|
|
|
|
mail body
|
|
|
|
</stdin>
|
|
|
|
<command>
|
2015-01-28 14:45:54 -05:00
|
|
|
'smtp://user;AUTH=EXTERNAL@%HOSTIP:%SMTPPORT/944' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
|
2015-01-27 12:03:56 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2015-01-28 14:45:54 -05:00
|
|
|
EHLO 944
|
2015-01-27 12:03:56 -05:00
|
|
|
AUTH EXTERNAL dXNlcg==
|
|
|
|
MAIL FROM:<sender@example.com>
|
|
|
|
RCPT TO:<recipient@example.com>
|
|
|
|
DATA
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
|
|
|
mail body
|
|
|
|
.
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|