xref: /curl/tests/data/test799 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6SASL AUTH +LOGIN
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<servercmd>
14AUTH PLAIN
15REPLY LOGIN A002 OK LOGIN completed
16</servercmd>
17<data>
18From: me@somewhere
19To: fake@nowhere
20
21body
22
23--
24  yours sincerely
25</data>
26</reply>
27
28#
29# Client-side
30<client>
31<server>
32imap
33</server>
34<name>
35IMAP with --login-options 'AUTH=+LOGIN'
36</name>
37<command>
38'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --login-options AUTH=+LOGIN
39</command>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46A001 CAPABILITY
47A002 LOGIN user secret
48A003 SELECT %TESTNUMBER
49A004 FETCH 1 BODY[]
50A005 LOGOUT
51</protocol>
52</verify>
53</testcase>
54