tests: Updated SMTP tests to decouple client initial response
Updated test903 and test904 following the addition of CURLOPT_SASL_IR as the default behaviour of SMTP AUTH responses is now to not include the initial response. New tests with --sasl-ir support to follow.
This commit is contained in:
parent
dacbdaab94
commit
4118c30261
@ -13,7 +13,8 @@ RFC4954
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY EHLO 250 AUTH PLAIN
|
||||
REPLY AUTH 235 Authenticated
|
||||
REPLY AUTH 334 PLAIN supported
|
||||
REPLY dGVzdAB0ZXN0ADEyMzQ= 235 Authenticated
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
@ -39,7 +40,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 903@foo --mail-from 903@from -u test:1
|
||||
<verify>
|
||||
<protocol>
|
||||
EHLO user
|
||||
AUTH PLAIN dGVzdAB0ZXN0ADEyMzQ=
|
||||
AUTH PLAIN
|
||||
dGVzdAB0ZXN0ADEyMzQ=
|
||||
MAIL FROM:<903@from>
|
||||
RCPT TO:<903@foo>
|
||||
DATA
|
||||
|
@ -12,7 +12,8 @@ RFC4954
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY EHLO 250 AUTH LOGIN
|
||||
REPLY AUTH 334 UGFzc3dvcmQ6
|
||||
REPLY AUTH 334 LOGIN supported
|
||||
REPLY dGVzdA== 334 UGFzc3dvcmQ6
|
||||
REPLY MTIzNA== 235 Authenticated
|
||||
</servercmd>
|
||||
</reply>
|
||||
@ -39,7 +40,8 @@ smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@from -u test:1
|
||||
<verify>
|
||||
<protocol>
|
||||
EHLO user
|
||||
AUTH LOGIN dGVzdA==
|
||||
AUTH LOGIN
|
||||
dGVzdA==
|
||||
MTIzNA==
|
||||
MAIL FROM:<904@from>
|
||||
RCPT TO:<904@foo>
|
||||
|
Loading…
Reference in New Issue
Block a user