1<testcase>
2<info>
3<keywords>
4SMTP
5SMTP AUTH CRAM-MD5
6SASL CANCELLATION
7RFC2195
8RFC4954
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<servercmd>
16AUTH CRAM-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>
29crypto
30</features>
31 <name>
32SMTP CRAM-MD5 graceful cancellation
33 </name>
34 <command>
35smtp://%HOSTIP:%SMTPPORT/932 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42# 67 - CURLE_LOGIN_DENIED
43<errorcode>
4467
45</errorcode>
46#
47# The multi interface considers a broken "CONNECT" as a prematurely broken
48# transfer and such a connection will not get a "QUIT"
49<protocol>
50EHLO 932
51AUTH CRAM-MD5
52*
53</protocol>
54</verify>
55</testcase>
56