xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | IMAP |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <servercmd> |
| 12 | REPLY welcome * PREAUTH ready to serve already! |
| 13 | REPLY 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> |
| 16 | From: me@somewhere
|
| 17 | To: fake@nowhere
|
| 18 |
|
| 19 | body
|
| 20 |
|
| 21 | --
|
| 22 | yours sincerely
|
| 23 | </data> |
| 24 | </reply> |
| 25 | |
| 26 | # |
| 27 | # Client-side |
| 28 | <client> |
| 29 | <server> |
| 30 | imap |
| 31 | </server> |
| 32 | <name> |
| 33 | IMAP PREAUTH response |
| 34 | </name> |
| 35 | <command> |
| 36 | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;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> |
| 44 | A001 CAPABILITY
|
| 45 | A002 SELECT %TESTNUMBER
|
| 46 | A003 FETCH 1 BODY[]
|
| 47 | A004 LOGOUT
|
| 48 | </protocol> |
| 49 | </verify> |
| 50 | </testcase> |