1<testcase> 2<info> 3<keywords> 4IMAP 5</keywords> 6</info> 7 8# 9# Server-side 10<reply> 11<servercmd> 12REPLY welcome * PREAUTH ready to serve already! 13REPLY CAPABILITY * CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REFERRALS STARTTLS LOGINDISABLED\r\nA001 OK CAPABILITY completed 14</servercmd> 15<data> 16From: me@somewhere 17To: fake@nowhere 18 19body 20 21-- 22 yours sincerely 23</data> 24</reply> 25 26# 27# Client-side 28<client> 29<server> 30imap 31</server> 32 <name> 33IMAP PREAUTH response 34 </name> 35 <command> 36'imap://%HOSTIP:%IMAPPORT/846/;MAILINDEX=1' -u notused:still-provided 37</command> 38</client> 39 40# 41# Verify data after the test has been "shot" 42<verify> 43<protocol> 44A001 CAPABILITY 45A002 SELECT 846 46A003 FETCH 1 BODY[] 47A004 LOGOUT 48</protocol> 49</verify> 50</testcase> 51