For what it's worth, UW imapd only lists the trailing hierarchy delimiter form in two cases: . the zero-character match case. In other words, if you list junk/* or junk/% then junk/ will be included in the results . hierarchy delimiter after the wildcard. In other words, if you list junk/%/ you'll get *only* the names that are not \NoInferiors in junk
It tries hard (and AFAIK succeeds) not to issue both the form with and without the trailing hierarchy delimiter. It works by running down the hierarchy. If a directory is encountered, it reports the directory if either the form with or without a trailing hierarchy delimiter matches the pattern. It then looks inside the directory, if and only if there is a chance of any inferior names matching the pattern. I'm surprised that you report that Exchange doesn't return a name that has inferiors when you use the % wildcard. You should see the form without the trailing hierarchy delimiter in that case. I don't see how a client could navigate Exchange's hierarchy otherwise. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.