MBOX-Line: From jjmckay at comaxis.com Fri Feb 6 10:27:22 2015 To: imap-protocol@u.washington.edu From: Jeff McKay Date: Fri Jun 8 12:34:53 2018 Subject: [Imap-protocol] Use of namespace in LIST command In-Reply-To: References: <54D41703.6060403@comaxis.com> Message-ID: <54D5078A.8030207@comaxis.com> Thanks for the information. The server is described by my customer as ?Washington University's WU-IMAP version 2004g?. What you told me is pretty much what I thought. However I still cannot get the LIST command to work with any of the alternate namespaces. For example here are a couple attempts. What does the message "mh format names disabled" mean? * NAMESPACE (("" "/")("#mhinbox" NIL)("#mh/" "/")) (("~" "/")) (("#shared/" "/")("#ftp/" "/")("#news." ".")("#public/" "/")) A006 OK NAMESPACE completed abcd LIST "" "#mhinbox" * NO /users/u2/bob/.mh_profile not found, mh format names disabled abcd OK LIST completed abcd LIST "" "#mh/%" * NO /users/u2/bob/.mh_profile not found, mh format names disabled abcd OK LIST completed On 2/6/2015 2:21 AM, Dave Cridland wrote: > On 6 February 2015 at 01:21, Jeff McKay > wrote: > > I think I need a refresher, or I am confused about something. I > log on to imap account "bob" (not sure which server > right now), and the NAMESPACE command gives me: > > * NAMESPACE (("" "/")("#mhinbox" NIL)("#mh/" "/")) (("~" "/")) > (("#shared/" "/")("#ftp/" "/")("#news." ".")("#public/" "/")) > > My usual command: LIST "" * > > tells me that there is an INBOX and nothing more, and the customer > says there should be a bunch of other folders. I have > tried: > > LIST "" "~bob/%" > LIST "" "~/bob/%" > LIST "" "#mh/bob/%" > LIST "" "#mhinbox/bob/%" > > but for each of the above, the command returns no folder names. > What I am doing wrong? > > > So the NAMESPACE here is giving you three sets; for example the first > is here: > > (("" "/")("#mhinbox" NIL)("#mh/" "/")) > > This is your own mailboxes, and it notes that the namespaces are: > > ("" "/") > > An empty string prefix - which apparently contains only INBOX. > > ("#mhinbox" NIL) > > This one has no separator, and therefore no hierarchy: > > . LIST "" "#mhinbox" > > Might give you a mailbox for the MH inbox. Or might not - it's telling > you where it *would* be if it exists. > > ("#mh/" "/") > > Other MH mailboxes for bob: > > . LIST "" "#mh/%" > > Note that it has a hierarchy separator, but also that there is one in > the prefix. This is common, but as we'll see, not essential. > > The next section is other users' mailboxes. Let's consider that there > exists another user "alice"; one might find Alice's mailboxes with: > > . LIST "" "~alice/%" > > But really, all this tells us is that if you find a mailbox beginning > "~", it's another user's one. > > The final group is shared mailboxes; by now you've got the idea: > > . LIST "" "#shared/%" > . LIST "" "#ftp/%" > . LIST "" "#news.%" > > I'm pretty sure the server is UW or Panda. > > Dave. -------------- next part -------------- An HTML attachment was scrubbed... URL: