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