1<testcase> 2<info> 3<keywords> 4IMAP 5SASL 6SASL AUTH LOGIN 7</keywords> 8</info> 9 10# 11# Server-side 12<reply> 13<servercmd> 14AUTH LOGIN 15REPLY AUTHENTICATE + VXNlcm5hbWU6 16REPLY dXNlcg== + UGFzc3dvcmQ6 17REPLY c2VjcmV0 A002 OK AUTHENTICATE completed 18</servercmd> 19<data> 20From: me@somewhere 21To: fake@nowhere 22 23body 24 25-- 26 yours sincerely 27</data> 28</reply> 29 30# 31# Client-side 32<client> 33<server> 34imap 35</server> 36 <name> 37IMAP login authentication 38 </name> 39 <command> 40'imap://%HOSTIP:%IMAPPORT/820/;UID=1' -u user:secret 41</command> 42</client> 43 44# 45# Verify data after the test has been "shot" 46<verify> 47<protocol> 48A001 CAPABILITY 49A002 AUTHENTICATE LOGIN 50dXNlcg== 51c2VjcmV0 52A003 SELECT 820 53A004 FETCH 1 BODY[] 54A005 LOGOUT 55</protocol> 56</verify> 57</testcase> 58