[Dovecot] 2.2beta2: LSUB broken
Hello,
I have some problems with (listing) subscriptions on my test system running 2.2beta2 (compared with 2.1.15, configuration and Maildir content unchanged):
With 2.1.15: 0 lsub "" "*"
- LSUB () "." "INBOX.Trash"
- LSUB () "." "INBOX.in2009"
- LSUB () "." "INBOX.test"
- LSUB () "." "INBOX.test.test2"
- LSUB () "." "INBOX.in2010"
- LSUB () "." "INBOX.in"
- LSUB () "." "INBOX.virtual.small"
- LSUB () "." "INBOX.virtual.sent"
- LSUB () "." "INBOX.virtual.allin"
- LSUB () "." "INBOX.virtual.week"
- LSUB () "." "INBOX.virtual.gmail" 0 OK Lsub completed.
With 2.2beta2 (output of doveconf -n attached): 0 lsub "" "*" 0 OK Lsub completed.
... empty list. Same with "list (subscribed)".
After disableing the "virtual" namespace in the config, it gets: 0 lsub "" "*"
- LSUB () "." Trash
- LSUB () "." in2009
- LSUB () "." test
- LSUB () "." test.test2
- LSUB () "." in2010
- LSUB () "." in
- LSUB () "." INBOX.Trash
- LSUB () "." INBOX.in2009
- LSUB () "." INBOX.test
- LSUB () "." INBOX.test.test2
- LSUB () "." INBOX.in2010
- LSUB () "." INBOX.in 0 OK Lsub completed.
Note mailboxes listed with and without INBOX. prefix.
Thanks, Lutz
On Mon, 2013-02-25 at 18:33 +0100, Lutz Preßler wrote:
I have some problems with (listing) subscriptions on my test system running 2.2beta2 (compared with 2.1.15, configuration and Maildir content unchanged):
On Mo, 25 Feb 2013, Timo Sirainen wrote:
On Mon, 2013-02-25 at 18:33 +0100, Lutz Preßler wrote:
I have some problems with (listing) subscriptions on my test system running 2.2beta2 (compared with 2.1.15, configuration and Maildir content unchanged):
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/e47910ee4459 Not sure.. after manually applying this patch, I get
0 lsub "" "*" imap(6812, user) : Panic: file mailbox-list-subscriptions.c: line 81 (mailbox_list_subscription_fill_one): assertion failed: (strncmp(ns_name, ns->prefix, ns->prefix_len-1) == 0 && ns_name[ns->prefix_len-1] == '\0') imap(6812, user) : Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x606fa) [0x7f10767396fa] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7f10767397e2] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7f10766fae2f] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_subscriptions_refresh+0x476) [0x7f1076a26636] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_init_multiple+0x232) [0x7f1076a234d2] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x93d99) [0x7f1076a23d99] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x926f7) [0x7f1076a226f7] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_next+0x3c0) [0x7f1076a22b50] -> /usr/lib/dovecot/imap() [0x40eb51] -> /usr/lib/dovecot/imap(cmd_list_full+0x4f6) [0x40f3d6] -> /usr/lib/dovecot/imap(command_exec+0x3d) [0x41604d] -> /usr/lib/dovecot/imap() [0x41521e] -> /usr/lib/dovecot/imap() [0x4152fd] -> /usr/lib/dovecot/imap(client_handle_input+0x11d) [0x41550d] -> /usr/lib/dovecot/imap(client_input+0x6f) [0x41588f] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f1076748386] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xaf) [0x7f10767493df] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x28) [0x7f1076748328] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f10766ffa93] -> /usr/lib/dovecot/imap(main+0x2a7) [0x41eaf7] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7f1076395c8d] -> /usr/lib/dovecot/imap() [0x40b579] Abgebrochen
Lutz
On 25.2.2013, at 20.26, Lutz Preßler <Lutz.Pressler@SerNet.DE> wrote:
On Mo, 25 Feb 2013, Timo Sirainen wrote:
On Mon, 2013-02-25 at 18:33 +0100, Lutz Preßler wrote:
I have some problems with (listing) subscriptions on my test system running 2.2beta2 (compared with 2.1.15, configuration and Maildir content unchanged):
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/e47910ee4459 Not sure.. after manually applying this patch, I get
I did a few more fixes to it in hg..
participants (2)
-
Lutz Preßler
-
Timo Sirainen