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