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