1 <testcase> 2 <info> 3 <keywords> 4 POP3 5 SASL 6 SASL AUTH CRAM-MD5 7 RFC1734 8 RFC2195 9 RFC5034 10 </keywords> 11 </info> 12 13 # 14 # Server-side 15 <reply> 16 <servercmd> 17 AUTH CRAM-MD5 18 REPLY AUTH + PDE5NzIuOTg3NjU0MzIxQGN1cmw+ 19 REPLY dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== +OK Login successful 20 </servercmd> 21 <data> 22 From: me@somewhere 23 To: fake@nowhere 24 25 body 26 27 -- 28 yours sincerely 29 </data> 30 </reply> 31 32 # 33 # Client-side 34 <client> 35 <server> 36 pop3 37 </server> 38 <features> 39 crypto 40 </features> 41 <name> 42 POP3 CRAM-MD5 authentication 43 </name> 44 <command> 45 pop3://%HOSTIP:%POP3PORT/867 -u user:secret 46 </command> 47 </client> 48 49 # 50 # Verify data after the test has been "shot" 51 <verify> 52 <protocol> 53 CAPA 54 AUTH CRAM-MD5 55 dXNlciA3MDMxNzI1NTk5ZmRiYjVkNDEyNjg5YWEzMjNlM2UwYg== 56 RETR 867 57 QUIT 58 </protocol> 59 </verify> 60 </testcase> 61