xref: /aosp_15_r20/external/curl/tests/data/test980 (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 WorkerSTARTTLS
6*6236dae4SAndroid Build Coastguard Worker</keywords>
7*6236dae4SAndroid Build Coastguard Worker</info>
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# Server-side
11*6236dae4SAndroid Build Coastguard Worker<reply>
12*6236dae4SAndroid Build Coastguard Worker<servercmd>
13*6236dae4SAndroid Build Coastguard WorkerCAPA STARTTLS
14*6236dae4SAndroid Build Coastguard WorkerAUTH PLAIN
15*6236dae4SAndroid Build Coastguard WorkerREPLY STARTTLS 454 currently unavailable\r\n235 Authenticated\r\n250 2.1.0 Sender ok\r\n250 2.1.5 Recipient ok\r\n354 Enter mail\r\n250 2.0.0 Accepted
16*6236dae4SAndroid Build Coastguard WorkerREPLY AUTH 535 5.7.8 Authentication credentials invalid
17*6236dae4SAndroid Build Coastguard Worker</servercmd>
18*6236dae4SAndroid Build Coastguard Worker</reply>
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard Worker#
21*6236dae4SAndroid Build Coastguard Worker# Client-side
22*6236dae4SAndroid Build Coastguard Worker<client>
23*6236dae4SAndroid Build Coastguard Worker<features>
24*6236dae4SAndroid Build Coastguard WorkerSSL
25*6236dae4SAndroid Build Coastguard Worker</features>
26*6236dae4SAndroid Build Coastguard Worker<server>
27*6236dae4SAndroid Build Coastguard Workersmtp
28*6236dae4SAndroid Build Coastguard Worker</server>
29*6236dae4SAndroid Build Coastguard Worker<name>
30*6236dae4SAndroid Build Coastguard WorkerSMTP STARTTLS pipelined server response
31*6236dae4SAndroid Build Coastguard Worker</name>
32*6236dae4SAndroid Build Coastguard Worker<stdin>
33*6236dae4SAndroid Build Coastguard Workermail body
34*6236dae4SAndroid Build Coastguard Worker</stdin>
35*6236dae4SAndroid Build Coastguard Worker<command>
36*6236dae4SAndroid Build Coastguard Workersmtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -u user:secret --ssl --sasl-ir -T -
37*6236dae4SAndroid Build Coastguard Worker</command>
38*6236dae4SAndroid Build Coastguard Worker</client>
39*6236dae4SAndroid Build Coastguard Worker
40*6236dae4SAndroid Build Coastguard Worker#
41*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
42*6236dae4SAndroid Build Coastguard Worker<verify>
43*6236dae4SAndroid Build Coastguard Worker# 8 is CURLE_WEIRD_SERVER_REPLY
44*6236dae4SAndroid Build Coastguard Worker<errorcode>
45*6236dae4SAndroid Build Coastguard Worker8
46*6236dae4SAndroid Build Coastguard Worker</errorcode>
47*6236dae4SAndroid Build Coastguard Worker<protocol>
48*6236dae4SAndroid Build Coastguard WorkerEHLO %TESTNUMBER
49*6236dae4SAndroid Build Coastguard WorkerSTARTTLS
50*6236dae4SAndroid Build Coastguard Worker</protocol>
51*6236dae4SAndroid Build Coastguard Worker</verify>
52*6236dae4SAndroid Build Coastguard Worker</testcase>
53