xref: /aosp_15_r20/external/curl/tests/data/test935 (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 CRAM-MD5
7*6236dae4SAndroid Build Coastguard WorkerSASL AUTH PLAIN
8*6236dae4SAndroid Build Coastguard WorkerSASL DOWNGRADE
9*6236dae4SAndroid Build Coastguard WorkerRFC2195
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 CRAM-MD5 PLAIN
19*6236dae4SAndroid Build Coastguard WorkerREPLY "AUTH CRAM-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 Workercrypto
34*6236dae4SAndroid Build Coastguard Worker</features>
35*6236dae4SAndroid Build Coastguard Worker<name>
36*6236dae4SAndroid Build Coastguard WorkerSMTP CRAM-MD5 authentication with SASL downgrade
37*6236dae4SAndroid Build Coastguard Worker</name>
38*6236dae4SAndroid Build Coastguard Worker<stdin>
39*6236dae4SAndroid Build Coastguard Workermail body
40*6236dae4SAndroid Build Coastguard Worker</stdin>
41*6236dae4SAndroid Build Coastguard Worker<command>
42*6236dae4SAndroid Build Coastguard Workersmtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -u user:secret -T -
43*6236dae4SAndroid Build Coastguard Worker</command>
44*6236dae4SAndroid Build Coastguard Worker</client>
45*6236dae4SAndroid Build Coastguard Worker
46*6236dae4SAndroid Build Coastguard Worker#
47*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
48*6236dae4SAndroid Build Coastguard Worker<verify>
49*6236dae4SAndroid Build Coastguard Worker<protocol>
50*6236dae4SAndroid Build Coastguard WorkerEHLO %TESTNUMBER
51*6236dae4SAndroid Build Coastguard WorkerAUTH CRAM-MD5
52*6236dae4SAndroid Build Coastguard Worker*
53*6236dae4SAndroid Build Coastguard WorkerAUTH PLAIN
54*6236dae4SAndroid Build Coastguard WorkerAHVzZXIAc2VjcmV0
55*6236dae4SAndroid Build Coastguard WorkerMAIL FROM:<[email protected]>
56*6236dae4SAndroid Build Coastguard WorkerRCPT TO:<[email protected]>
57*6236dae4SAndroid Build Coastguard WorkerDATA
58*6236dae4SAndroid Build Coastguard WorkerQUIT
59*6236dae4SAndroid Build Coastguard Worker</protocol>
60*6236dae4SAndroid Build Coastguard Worker<upload>
61*6236dae4SAndroid Build Coastguard Workermail body
62*6236dae4SAndroid Build Coastguard Worker.
63*6236dae4SAndroid Build Coastguard Worker</upload>
64*6236dae4SAndroid Build Coastguard Worker</verify>
65*6236dae4SAndroid Build Coastguard Worker</testcase>
66