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