1<testcase> 2<info> 3<keywords> 4SMTP 5SASL 6SASL AUTH CRAM-MD5 7SASL CANCELLATION 8RFC2195 9RFC4954 10</keywords> 11</info> 12 13# 14# Server-side 15<reply> 16<servercmd> 17AUTH CRAM-MD5 18REPLY AUTH 334 Rubbish 19REPLY * 501 AUTH exchange cancelled by client 20</servercmd> 21</reply> 22 23# 24# Client-side 25<client> 26<server> 27smtp 28</server> 29<features> 30crypto 31</features> 32 <name> 33SMTP CRAM-MD5 graceful cancellation 34 </name> 35 <command> 36smtp://%HOSTIP:%SMTPPORT/932 --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 932 52AUTH CRAM-MD5 53* 54</protocol> 55</verify> 56</testcase> 57