Update to 7.44.0
[platform/upstream/curl.git] / tests / data / test840
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 SASL
6 SASL AUTH EXTERNAL
7 SASL-IR
8 RFC4422
9 </keywords>
10 </info>
11
12 #
13 # Server-side
14 <reply>
15 <servercmd>
16 AUTH EXTERNAL
17 CAPA SASL-IR
18 REPLY AUTHENTICATE A002 OK AUTHENTICATE completed
19 </servercmd>
20 <data>
21 From: me@somewhere\r
22 To: fake@nowhere\r
23 \r
24 body\r
25 \r
26 --\r
27   yours sincerely\r
28 </data>
29 </reply>
30
31 #
32 # Client-side
33 <client>
34 <server>
35 imap
36 </server>
37  <name>
38 IMAP external authentication with initial response without credentials
39  </name>
40  <command>
41 'imap://;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/840/;UID=1'
42 </command>
43 </client>
44
45 #
46 # Verify data after the test has been "shot"
47 <verify>
48 <protocol>
49 A001 CAPABILITY\r
50 A002 AUTHENTICATE EXTERNAL =\r
51 A003 SELECT 840\r
52 A004 FETCH 1 BODY[]\r
53 A005 LOGOUT\r
54 </protocol>
55 </verify>
56 </testcase>