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