Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test886
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 SASL
6 SASL AUTH EXTERNAL
7 SASL-IR
8 RFC1734
9 RFC4422
10 RFC5034
11 </keywords>
12 </info>
13
14 #
15 # Server-side
16 <reply>
17 <servercmd>
18 AUTH EXTERNAL
19 REPLY AUTH +OK Login successful
20 </servercmd>
21 <data>
22 From: me@somewhere
23 To: fake@nowhere
24
25 body
26
27 --
28   yours sincerely
29 </data>
30 </reply>
31
32 #
33 # Client-side
34 <client>
35 <server>
36 pop3
37 </server>
38  <name>
39 POP3 external authentication with initial response without credentials
40  </name>
41  <command>
42 'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/886' --sasl-ir
43 </command>
44 </client>
45
46 #
47 # Verify data after the test has been "shot"
48 <verify>
49 <protocol>
50 CAPA
51 AUTH EXTERNAL =
52 RETR 886
53 QUIT
54 </protocol>
55 </verify>
56 </testcase>