[Dovecot] do 1.1b4 assertion failed: (mailbox_list_is_valid_existing_name

Adam McDougall mcdouga9 at egr.msu.edu
Sun Oct 28 15:37:38 EET 2007


On Sun, Oct 28, 2007 at 01:57:52AM +0300, Timo Sirainen wrote:

  On Sat, 2007-10-27 at 16:31 -0400, Adam McDougall wrote:
  > Oct 27 16:03:27 gribble dovecot: IMAP(mcdouga9): file mailbox-list-maildir.c: line 186 
  > (maildir_list_get_path): assertion failed: (mailbox_list_is_valid_existing_name(_list, name))
  
  OK, this should fix a lot of things:
  http://hg.dovecot.org/dovecot/rev/e1fde9940f7e

No crashes yet, folder access seems fine so far.  Thanks!
  
  One bug with ACL plugin still is that if you have a "foo/bar" mailbox in
  a public namespace but no "foo", LIST "" % doesn't show "foo" as
  placeholder mailbox. This happens with v1.0 too I think. I'll try to get
  that fixed soon.
  
I've probably noticed this back when I moved some courier shared mailboxes to
dovecot and created the placeholder mailboxes to satisfy the requirement. 
If later I don't need these folders it would be nice so I can clean up some
directories and scripts, but I'll still need to be able to fake a subscription
to them for the sake of some IMAP clients that display folders strangely when
the entire path down to a subfolder is not subscribed.  For example, squirrelmail
can do shared folders, but if I have folders subscribed as below marked with *:

* some-private-folder
* some-private-folder/subfolder
* another-private-folder
  folderA
* folderA/In
  folderB
* folderB/In
  
Squirrelmail shows subscribed folders in tree form:

some-private-folder
  subfolder
another-private-folder
  In
  In

I can definitely understand if this is felt to be something I should continue making
folders for, just mentioning a particular need I would need still need to satisfy if
these folders are not required by the acl plugin someday.


More information about the dovecot mailing list