On 6 Jan 2004 at 18:23, Arnt Gulbrandsen wrote:

> > On Tue, 6 Jan 2004, Arnt Gulbrandsen wrote:
> >>  > Alt.Fan doesn't exist, but Alt.Fan.Mark.Crispin might.
> >>  In IMAP terms, alt.fan is \noselect \haschildren.
> >
> > Yes, but such a name shows up with a % wildcard.
> 
> It does? Larry, can you confirm that?

I'm sorry to drag this one out, but I'm still having some trouble with it...

If I use the command:

   tag LIST "" "*"

then Exchange 2003 will report amongst its other entries the following 
item:

   * LIST (\\Noselect) "/" "Public Folders/"

I still don't really understand why the trailing delimiter is required when 
"\Noinferiors" is not present, but I'm just thick so we'll leave it at that - 
I've already coded around it.

If, however, I use this command:

   tag LIST "" "%"

Then the "Public folders/" entry is not returned. Now, if the trailing 
hierarchy delimiter is actually part of the item's name, then I guess it's 
correct for it to be suppressed because '%' won't match a hierarchy 
delimiter.

The problem is that this makes it *very* hard to be a "good citizen" and 
use '%' to enumerate only the levels of hierarchy you actually need at 
any given time, because the public folders entry won't be available to 
you if you do things that way.

In fact, if I use '%' wildcards to retrieve folder lists, I can't see any way at 
all of ever getting to the "Public folders/" tree - I've tried passing "Public 
folders" and "Public folders/" as a reference, but Exchange simply 
returns no items when I do this. It seems I can only get the public folder 
structure by using a '*' wildcard.

I'm sure this is all being done by design, but I'd be grateful if someone 
could clarify that for me... I'm currently completely rewriting the IMAP 
code in my client to be better-behaved and more efficient, part of which 
entails using '%' instead of '*' to reduce LIST command clutter. If I do 
this, though, I can see myself getting a lot of tech support questions 
from Exchange users wondering why they can't see any public folders, 
and I'd like to know what the proper answer to give them is.

Cheers!

-- David --

------------------ David Harris -+- Pegasus Mail ----------------------
  Box 5451, Dunedin, New Zealand | e-mail: [EMAIL PROTECTED]
           Phone: +64 3 453-6880 | Fax: +64 3 453-6612

Sign seen at the zoo in Budapest:
   "Please do not feed the animals. If you have any suitable food,
    please give it to the guard on duty."



Reply via email to