Hi,

My MUA (claws-mail) is having a hard time listing directories
for a mail account with two namespaces, one of which using mbox and the
other one using maildir to store mails.

Let's call the namespaces "#mbox." and "#maildir." and have "." as
separator.

Assume I have the following folder hierarchy:
  $namespace
  $namespace folder
  $namespace folder folder1a
  $namespace folder folder1b
  $namespace folder folder1c

The resulting IMAPv4 session is:
  mb1 LIST "" "#mbox.%"
  * LIST (\Noselect \HasChildren) "." "#mbox.folder"
  mb1 OK List completed.
  mb2 LIST "" "#mbox.folder.%"
  * LIST (\Noselect \HasChildren) "." "#mbox.folder."
  * LIST (\NoInferiors \UnMarked) "." "#mbox.folder.folder1a"
  * LIST (\NoInferiors \UnMarked) "." "#mbox.folder.folder1b"
  * LIST (\NoInferiors \UnMarked) "." "#mbox.folder.folder1c"
  mb2 OK List completed.
  md1 LIST "" "#maildir.%"
  * LIST (\HasChildren) "." "#maildir.folder"
  md1 OK List completed.
  md2 LIST "" "#maildir.folder.%"
  * LIST (\HasNoChildren) "." "#maildir.folder.folder1a"
  * LIST (\HasNoChildren) "." "#maildir.folder.folder1b"
  * LIST (\HasNoChildren) "." "#maildir.folder.folder1c"
  md2 OK List completed.

Notice the extra presence of listed folder itself with trailing "."
in mb2 that has no equivalent in md2!

Is this expected listing behavior? If so, why the differing behavior
between both storage engines?


Affected dovecot versions:
   at least 1.1.16 and 2.0.11 (installed from Gentoo packages)
System is x86 on XFS

Thanks,
Bruno

Attachment: signature.asc
Description: PGP signature

Reply via email to