On Wed, 23 Oct 2002 02:15:32 -0400, Fouad Kassab wrote: > how do we get the folder listing once we log in to an IMAP > server? i had supposed it would be select "*" "*" but that > gives me folders and files as well. im not sure as to how to > list just folders.
If you get non-mailbox "files", that means that it isn't possible to tell the difference between something that is a mailbox and something that is not. In UW imapd, it is possible to select non-mailbox files, so the difference is essentially meaningless. If you don't want to see non-mailbox "files", the way to do this is to organize your data so that mailboxes are in a distinct place, and then only look in that distinct place. I eschew the imprecise term "folder" since that implies "directory".
