Sorry , copying list .
On Mon, May 14, 2012 at 2:18 PM, Danilo Acquaviva dnl555@gmail.com wrote:
Hi Timo,
same happening with 2.1.6 :
find mdbox/mailboxes/ -type d
mdbox/mailboxes/Lixeira mdbox/mailboxes/Lixeira/dbox-Mails mdbox/mailboxes/Deleted Messages mdbox/mailboxes/Deleted Messages/dbox-Mails mdbox/mailboxes/Junk (Ana Paula | Anpla Comunicac&Ayc-a&AwM-o Planejada) mdbox/mailboxes/Junk (Ana Paula | Anpla Comunicac&Ayc-a&AwM-o Planejada)/dbox-Mails mdbox/mailboxes/Apple Mail To Do mdbox/mailboxes/Apple Mail To Do/dbox-Mails mdbox/mailboxes/lixo mdbox/mailboxes/lixo/dbox-Mails mdbox/mailboxes/Drafts mdbox/mailboxes/Drafts/dbox-Mails mdbox/mailboxes/Rascunhos mdbox/mailboxes/Rascunhos/dbox-Mails mdbox/mailboxes/rascunho mdbox/mailboxes/rascunho/dbox-Mails mdbox/mailboxes/Itens Enviados mdbox/mailboxes/Itens Enviados/dbox-Mails mdbox/mailboxes/Inventta mdbox/mailboxes/Inventta/dbox-Mails mdbox/mailboxes/Notes mdbox/mailboxes/Notes/dbox-Mails mdbox/mailboxes/Vila Lourdes mdbox/mailboxes/Vila Lourdes/dbox-Mails mdbox/mailboxes/enviadas mdbox/mailboxes/enviadas/dbox-Mails mdbox/mailboxes/Monograma mdbox/mailboxes/Monograma/dbox-Mails mdbox/mailboxes/Drafts (Ana Paula) mdbox/mailboxes/Drafts (Ana Paula)/dbox-Mails mdbox/mailboxes/Spam mdbox/mailboxes/Spam/dbox-Mails mdbox/mailboxes/Sent Messages mdbox/mailboxes/Sent Messages/dbox-Mails mdbox/mailboxes/Clientes mdbox/mailboxes/Clientes/Confiserie du Chocolat mdbox/mailboxes/Clientes/Confiserie du Chocolat/dbox-Mails mdbox/mailboxes/Clientes/Martins &- Bueno mdbox/mailboxes/Clientes/Martins &- Bueno/dbox-Mails mdbox/mailboxes/Mala_Direta mdbox/mailboxes/Mala_Direta/dbox-Mails mdbox/mailboxes/INBOX mdbox/mailboxes/INBOX/Mala_Direta mdbox/mailboxes/INBOX/Mala_Direta/dbox-Mails mdbox/mailboxes/INBOX/INBOX mdbox/mailboxes/INBOX/INBOX/INBOX mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX/INBOX mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/Apple Mail To Do mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/Apple Mail To Do/dbox-Mails mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/Apple Mail To Do mdbox/mailboxes/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/INBOX/Apple Mail To Do/dbox-Mails mdbox/mailboxes/INBOX/dbox-Mails
doveconf -n namespace
namespace { inbox = yes location = prefix = INBOX. separator = . type = private } namespace { hidden = yes list = no location = mdbox:%h/la_config prefix = la_config. separator = . }
gdb output:
gdb --args doveadm force-resync -u user@server INBOX
Starting program: /usr/bin/doveadm force-resync -u <USER> INBOX [Thread debugging using libthread_db enabled] doveadm(user@server): Warning: mdbox /storage/3/bd/05/server/users/user/mdbox/storage: rebuilding indexes doveadm(user@server): Panic: file mail-storage.c: line 787 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns->prefix, ns->prefix_len-1) == 0) doveadm(user@server): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x4475a) [0x7ffff76ab75a] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7ffff76ab842] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7ffff76825bf] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open_stream+0) [0x7ffff7933e50] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open+0xf) [0x7ffff7933e6f] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_storage_rebuild_in_context+0xb2b) [0x7ffff79235ab] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_sync_begin+0x7ec) [0x7ffff792157c] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_sync+0x46) [0x7ffff79215e6] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_storage_sync_init+0x87) [0x7ffff79216c7] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x31) [0x7ffff7932a01] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x27) [0x7ffff7933537] -> /usr/bin/doveadm() [0x4104c7] -> /usr/bin/doveadm() [0x40f988] -> /usr/bin/doveadm() [0x40fce4] -> /usr/bin/doveadm(doveadm_mail_try_run+0x141) [0x410161] -> /usr/bin/doveadm(main+0x3a1) [0x416f01] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7ffff7323c8d] -> /usr/bin/doveadm() [0x40f2b9]
Program received signal SIGABRT, Aborted. 0x00007ffff73371b5 in raise () from /lib/libc.so.6
On Mon, May 14, 2012 at 1:14 PM, Timo Sirainen tss@iki.fi wrote:
On Wed, 2012-05-09 at 10:17 -0300, Danilo Acquaviva wrote:
I using dovecot with mdbox and in one account i get this error:
doveadm(xxx): Panic: file mail-storage.c: line 787 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns->prefix, ns->prefix_len-1) == 0)
I guess the user has some strange mailbox name. Could you show the output of:
find /.../user/mdbox/mailboxes -type d
And also "doveconf -n namespace" output.