xref: /aosp_15_r20/external/curl/tests/data/test937 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerSMTP
5*6236dae4SAndroid Build Coastguard WorkerSASL
6*6236dae4SAndroid Build Coastguard WorkerSASL AUTH DIGEST-MD5
7*6236dae4SAndroid Build Coastguard WorkerSASL AUTH PLAIN
8*6236dae4SAndroid Build Coastguard WorkerSASL DOWNGRADE
9*6236dae4SAndroid Build Coastguard WorkerRFC2831
10*6236dae4SAndroid Build Coastguard WorkerRFC4954
11*6236dae4SAndroid Build Coastguard Worker</keywords>
12*6236dae4SAndroid Build Coastguard Worker</info>
13*6236dae4SAndroid Build Coastguard Worker
14*6236dae4SAndroid Build Coastguard Worker#
15*6236dae4SAndroid Build Coastguard Worker# Server-side
16*6236dae4SAndroid Build Coastguard Worker<reply>
17*6236dae4SAndroid Build Coastguard Worker<servercmd>
18*6236dae4SAndroid Build Coastguard WorkerAUTH DIGEST-MD5 PLAIN
19*6236dae4SAndroid Build Coastguard WorkerREPLY "AUTH DIGEST-MD5" 334 Rubbish
20*6236dae4SAndroid Build Coastguard WorkerREPLY * 501 AUTH exchange cancelled by client
21*6236dae4SAndroid Build Coastguard WorkerREPLY "AUTH PLAIN" 334 PLAIN supported
22*6236dae4SAndroid Build Coastguard WorkerREPLY AHVzZXIAc2VjcmV0 235 Authenticated
23*6236dae4SAndroid Build Coastguard Worker</servercmd>
24*6236dae4SAndroid Build Coastguard Worker</reply>
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard Worker#
27*6236dae4SAndroid Build Coastguard Worker# Client-side
28*6236dae4SAndroid Build Coastguard Worker<client>
29*6236dae4SAndroid Build Coastguard Worker<server>
30*6236dae4SAndroid Build Coastguard Workersmtp
31*6236dae4SAndroid Build Coastguard Worker</server>
32*6236dae4SAndroid Build Coastguard Worker<features>
33*6236dae4SAndroid Build Coastguard Worker!SSPI
34*6236dae4SAndroid Build Coastguard WorkerDebug
35*6236dae4SAndroid Build Coastguard Workercrypto
36*6236dae4SAndroid Build Coastguard Worker</features>
37*6236dae4SAndroid Build Coastguard Worker<name>
38*6236dae4SAndroid Build Coastguard WorkerSMTP DIGEST-MD5 authentication with SASL downgrade
39*6236dae4SAndroid Build Coastguard Worker</name>
40*6236dae4SAndroid Build Coastguard Worker<stdin>
41*6236dae4SAndroid Build Coastguard Workermail body
42*6236dae4SAndroid Build Coastguard Worker</stdin>
43*6236dae4SAndroid Build Coastguard Worker<command>
44*6236dae4SAndroid Build Coastguard Workersmtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -u user:secret -T -
45*6236dae4SAndroid Build Coastguard Worker</command>
46*6236dae4SAndroid Build Coastguard Worker</client>
47*6236dae4SAndroid Build Coastguard Worker
48*6236dae4SAndroid Build Coastguard Worker#
49*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
50*6236dae4SAndroid Build Coastguard Worker<verify>
51*6236dae4SAndroid Build Coastguard Worker<protocol>
52*6236dae4SAndroid Build Coastguard WorkerEHLO %TESTNUMBER
53*6236dae4SAndroid Build Coastguard WorkerAUTH DIGEST-MD5
54*6236dae4SAndroid Build Coastguard Worker*
55*6236dae4SAndroid Build Coastguard WorkerAUTH PLAIN
56*6236dae4SAndroid Build Coastguard WorkerAHVzZXIAc2VjcmV0
57*6236dae4SAndroid Build Coastguard WorkerMAIL FROM:<[email protected]>
58*6236dae4SAndroid Build Coastguard WorkerRCPT TO:<[email protected]>
59*6236dae4SAndroid Build Coastguard WorkerDATA
60*6236dae4SAndroid Build Coastguard WorkerQUIT
61*6236dae4SAndroid Build Coastguard Worker</protocol>
62*6236dae4SAndroid Build Coastguard Worker<upload>
63*6236dae4SAndroid Build Coastguard Workermail body
64*6236dae4SAndroid Build Coastguard Worker.
65*6236dae4SAndroid Build Coastguard Worker</upload>
66*6236dae4SAndroid Build Coastguard Worker</verify>
67*6236dae4SAndroid Build Coastguard Worker</testcase>
68