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