1<testcase> 2<info> 3<keywords> 4SMTP 5SASL 6SASL AUTH CRAM-MD5 7RFC2195 8RFC4954 9</keywords> 10</info> 11 12# 13# Server-side 14<reply> 15<servercmd> 16AUTH CRAM-MD5 17REPLY AUTH 334 PDE5NzIuOTg3NjU0MzIxQGN1cmw+ 18REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== 235 Authenticated 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 authentication 33 </name> 34<stdin> 35mail body 36</stdin> 37 <command> 38smtp://%HOSTIP:%SMTPPORT/905 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T - 39</command> 40</client> 41 42# 43# Verify data after the test has been "shot" 44<verify> 45<protocol> 46EHLO 905 47AUTH CRAM-MD5 48dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== 49MAIL FROM:<sender@example.com> 50RCPT TO:<recipient@example.com> 51DATA 52QUIT 53</protocol> 54<upload> 55mail body 56. 57</upload> 58</verify> 59</testcase> 60