[Dovecot] unexpected LSUB / LIST (SUBSCRIBED) output Re: Panic: file mailbox-list-subscriptions.c: line 66 (mailbox_list_subscription_fill_one): assertion failed: (ns!= NULL && (ns->flags & NAMESPACE_FLAG_AUTOCREATED) != 0)

Lutz Preßler Lutz.Pressler at SerNet.DE
Thu Sep 15 18:15:18 EEST 2011


On Thu, 15 Sep 2011, Timo Sirainen wrote:

> On Wed, 2011-09-14 at 12:10 +0200, Lutz Preßler wrote:
> > imap(2717, testuser): Panic: file mailbox-list-subscriptions.c: line
> > 66 (mailbox_list_subscription_fill_one): assertion failed: (ns!= NULL
> > && (ns->flags & NAMESPACE_FLAG_AUTOCREATED) != 0)
> > 
> Fixed: http://hg.dovecot.org/dovecot-2.1/rev/309a707c22c0
No assertion anymore.

0 login testuser password
[...]
0 list "" "*"
* LIST (\HasChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "INBOX.test"
* LIST (\Noselect \HasChildren) "." "INBOX.shared.user1"
* LIST (\HasNoChildren) "." "INBOX.virtual"
* LIST (\HasNoChildren) "." "INBOX.shared.user1.in2007"
0 OK List completed.
0 lsub "" "*"
* LSUB (\Noselect) "." "INBOX.shared.user1"
0 OK Lsub completed.
0 list (subscribed) "" "*"
* LIST (\NonExistent) "." "INBOX.shared.user1"
0 OK List completed.

>>>  ~testuser/Maildir/subscription is empty here

0 subscribe INBOX.shared.user1.in2007
0 OK Subscribe completed.
0 lsub "" "*"
* LSUB (\Noselect) "." "INBOX.shared.user1"
* LSUB () "." "INBOX.shared.user1.in2007"
0 OK Lsub completed.
0 list (subscribed) "" "*"
* LIST (\NonExistent) "." "INBOX.shared.user1"
* LIST (\Subscribed) "." "INBOX.shared.user1.in2007"
0 OK List completed.

>>> ~testuser/Maildir/subscription now contains "shared.user1.in2007"

Is this "INBOX.shared.user1" LSUB/LIST output correct?

Lutz



More information about the dovecot mailing list