You can solve the conundrum by making "select/" be selectable.
Just sayin'.
On Sat, 10 Dec 2011, Timo Sirainen wrote:
> I'm again cleaning up my LIST handling code and started wondering. Lets
> say I have a mailbox:
>
> a list "" s*
> * LIST (\HasNoChildren) "/" "select"
> a OK List completed.
>
> Now, is it correct to reply with b) or with c)?
>
> b list "" select/*
> * LIST (\HasNoChildren) "/" "select/"
> b OK List completed.
>
> c list "" select/*
> * LIST (\Noselect \HasNoChildren) "/" "select/"
> c OK List completed.
>
> I'm leaning towards c), because while "select" is a selectable mailbox,
> "select/" isn't.
>
> (Then again, I remember some clients having had some trouble with this
> reply, so maybe I'll need to return b) anyway.)
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.