[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)
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
On Thu, 2011-09-15 at 17:15 +0200, Lutz Preßler wrote:
0 lsub "" "*"
- LSUB (\Noselect) "." "INBOX.shared.user1" 0 OK Lsub completed. 0 list (subscribed) "" "*"
- LIST (\NonExistent) "." "INBOX.shared.user1" 0 OK List completed.
These shouldn't be here.
0 lsub "" "*"
- LSUB (\Noselect) "." "INBOX.shared.user1"
The above entry shouldn't be here.
- 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?
http://hg.dovecot.org/dovecot-2.1/rev/080c8f9521d2 should fix these and other related problems.
participants (2)
-
Lutz Preßler
-
Timo Sirainen