MBOX-Line: From thomas.dressler at 1und1.de  Wed Oct 24 12:29:38 2012
To: imap-protocol@u.washington.edu
From: Thomas Dressler <thomas.dressler@1und1.de>
Date: Fri Jun  8 12:34:49 2018
Subject: [Imap-protocol] rfc-5258 LIST Command Extensions
Message-ID: <508841A2.4010602@1und1.de>

Hi,

i am a litle bit confused about some examples in rfc-5258 (page 17):
C: D03 LIST (RECURSIVEMATCH SUBSCRIBED) "" "*"
S: * LIST () "/" "foo2" ("CHILDINFO" ("SUBSCRIBED"))
S: * LIST (\Subscribed) "/" "foo2/bar1"
S: * LIST (\Subscribed) "/" "foo2/bar2"
S: * LIST () "/" "baz2" ("CHILDINFO" ("SUBSCRIBED"))
S: * LIST (\Subscribed) "/" "baz2/bar2"
S: * LIST (\Subscribed) "/" "baz2/bar22"
S: * LIST (\Subscribed) "/" "baz2/bar222"
S: * LIST (\Subscribed) "/" "eps2" ("CHILDINFO" ("SUBSCRIBED"))
S: * LIST (\Subscribed) "/" "eps2/mamba"
S: * LIST (\Subscribed) "/" "qux2/bar2"
S: D03 OK done

baz2 is returned, and baz2 is not supscribed.
i miss the following response:
* LIST (\NonExistent) "/" qux2 ("CHILDINFO" ("SUBSCRIBED"))

why is qux2 not returned? i don't undertsand the difference in the examples
between list-mailbox "*" and "*2". in "*2" example the responses for "baz2"
and "qux2" are disabled (because redundant information), "foo2" is 
listed (because
it have an not matched chield).
in "*" example "baz2" is listed and "qux2" not.
the only difference is: "baz2" exists and "qux2" not.

in wich situations should "LIST (RECURSIVEMATCH SUBSCRIBED)" return an 
mailbox,
which is not subscribed?

are there some rfc-conform implementations, for testing/orientating?

bye
ThomasD

PS:
the second example in rfc-5819 is an invalid commandline (there must be 
an SP before mailbox):
C: A02 LIST (SUBSCRIBED RECURSIVEMATCH)"" % RETURN (STATUS (MESSAGES))


-- 
Thomas Dressler
Software-Entwickler

1&1 Internet AG - Mail System Development
Brauerstrasse 48 DE-76135 Karlsruhe
Telefon: +49 721 91374-6790
thomas.dressler@1und1.de

Amtsgericht Montabaur / HRB 6484
Vorstaende: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


