Closed mdecimus closed 2 years ago
Hi,
body[1]
. I'm not sure if body[2]
is really a valid thing to even ask from a server, since it points to the whole message/rfc822 part.test2/test1
subscribed, then:
list (subscribed recursivematch) "" *
- it's going to list test2/test1
in any case so there is no need to list test2
by itself with the CHILDINFO. I think this may be written in some way in the RFC.list (subscribed recursivematch) "" %
- then it needs to list test2
with CHILDINFO, because the child isn't listed.list (subscribed recursivematch) "" (test2 test2/test1)
(which is what this test does) it's similar to listing with *
in that the test2/test1
is listed, so listing test2
with CHILDINFO is unnecessary.Thanks for the quick reply.
Thanks again!
Hi,
First of all, thank you for this excellent tool! It has been really helpful to detect and fix issues on our IMAP proxy.
I have spotted a few issues on the tests where certain responses are expected which I believe do not comply with RFC3501:
fetch-body-mime:
BODY[1]
orBODY[2]
responses do not include headers and I believe that they should return both headers as well the body. Looking at section 6.4.6 of RFC3501 it states that "An empty section specification refers to the entire message, including the header." Even though this is referring toBODY[]
, I believe thatBODY[1]
should return both headers and body sinceBODY[1.HEADERS]
returns the headers andBODY[1.TEXT]
returns the actual body. IfBODY[1]
is the same asBODY[1.TEXT]
, there is no way to retrieve the entire section including headers as it is possible for instance when callingBODY[]
,BODY[HEADERS]
andBODY[TEXT]
which all return different sections of the entire message.listext: Line 90 should start with
*
instead of!
. As per RFC5258, if the mailbox exists and does not meet the selection criteria but it has a child that matches the selection criteria then the returned attributes should be() + CHILDINFO
.sort-size: Line 8 should be
* sort 7 4 5 3 6 2 8 1
Please let me know your thoughts.
Thanks!