1<testcase>
2<info>
3<keywords>
4SMTP
5SMTP AUTH DIGEST-MD5
6SASL CANCELLATION
7RFC2831
8RFC4954
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<servercmd>
16AUTH DIGEST-MD5
17REPLY AUTH 334 Rubbish
18REPLY * 501 AUTH exchange cancelled by client
19</servercmd>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26smtp
27</server>
28<features>
29debug
30crypto
31</features>
32 <name>
33SMTP DIGEST-MD5 graceful cancellation
34 </name>
35 <command>
36smtp://%HOSTIP:%SMTPPORT/934 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43# 67 - CURLE_LOGIN_DENIED
44<errorcode>
4567
46</errorcode>
47#
48# The multi interface considers a broken "CONNECT" as a prematurely broken
49# transfer and such a connection will not get a "QUIT"
50<protocol>
51EHLO 934
52AUTH DIGEST-MD5
53*
54</protocol>
55</verify>
56</testcase>
57