Claus Rosenberger
2012-Jul-21 22:04 UTC
[Dovecot] Panic: file mail-storage.c: line 791 (mailbox_check_mismatching_separators)
Hi, with fetching the folder structure with the webclient Tine i can see following error messages inside of the logfiles: Panic: file mail-storage.c: line 791 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns->prefix, ns->prefix_len-1) == 0) Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x448fa) [0x7f70036db8fa] -> /usr/lib/dovecot/libdovecot.so.0(+0x44946) [0x7f70036db946] -> /usr/lib/dovecot/libdovecot.so.0(+0x1b8ca) [0x7f70036b28ca] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open_stream+0) [0x7f70039a1550] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open+0xf) [0x7f70039a156f] -> dovecot/imap(cmd_select_full+0x14a) [0x40db1a] -> dovecot/imap(command_exec+0x3d) [0x41160d] -> dovecot/imap() [0x41058e] -> dovecot/imap() [0x41066d] -> dovecot/imap(client_handle_input+0x135) [0x410895] -> dovecot/imap(client_input+0x5f) [0x4111bf] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f70036e7ea6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9f) [0x7f70036e8f2f] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x28) [0x7f70036e7e48] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f70036d4103] -> dovecot/imap(main+0x2a5) [0x419695] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7f7003353c8d] -> dovecot/imap() [0x408f49] Fatal: master: service(imap): child 21152 killed with signal 6 (core dumps disabled) ------------ dovecot -n ------------ # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.5 ext4 first_valid_gid = 104 first_valid_uid = 107 last_valid_gid = 104 last_valid_uid = 107 login_trusted_networks = 10.20.11.4 mail_gid = 104 mail_location = maildir:/var/spool/dovecot/%Ld/%Ln/Maildir mail_plugins = quota acl mail_privileged_group = mail mail_uid = 107 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace { ? hidden = no ? list = children ? location = maildir:/var/spool/dovecot/%%d/%%n/Maildir:INDEX=/var/spool/dovecot/%d/%n/Maildir/shared/%%n ? prefix = shared/%%n/ ? separator = / ? type = shared } namespace inbox { ? inbox = yes ? location ? prefix = INBOX/ ? separator = / ? type = private } namespace virtual { ? alias_for = INBOX/ ? hidden = yes ? list = no ? location ? prefix ? separator = / ? type = private } passdb { ? args = /etc/dovecot/dovecot-ldap.conf.ext ? driver = ldap } plugin { ? acl = vfile ? acl_shared_dict = file:/var/spool/dovecot/%d/shared-mailboxes ? quota = maildir:User quota ? quota_rule = *:storage=1GB ? sieve = /var/spool/dovecot/%Ld/%Ln/.dovecot.sieve ? sieve_dir = /var/spool/dovecot/%Ld/%Ln/sieve } postmaster_address = postmaster at rocnet.de protocols = " imap sieve pop3 sieve" service auth { ? unix_listener auth-userdb { ??? group = dovecot ??? mode = 0660 ??? user = vmail ? } } service imap-login { ? inet_listener imap { ??? port = 0 ? } ? inet_listener imaps { ??? port = 993 ??? ssl = yes ? } } service imap { ? process_limit = 1024 } service pop3-login { ? inet_listener pop3 { ??? port = 0 ? } ? inet_listener pop3s { ??? port = 995 ??? ssl = yes ? } } service pop3 { ? process_limit = 1024 } ssl_cert = </etc/ssl/certs/pop3d.pem ssl_key = </etc/ssl/private/pop3d.pem userdb { ? args = /etc/dovecot/dovecot-ldap.conf.ext ? driver = ldap } protocol lda { ? mail_plugins = quota acl sieve } protocol imap { ? mail_plugins = quota acl imap_quota imap_acl } I checked if there are special characters in the folder structure but there are only standard ones. ---- Claus
Claus Rosenberger
2012-Aug-16 11:30 UTC
[Dovecot] Panic: file mail-storage.c: line 791 (mailbox_check_mismatching_separators)
Could i send some more informations about this topic? I'm not sure whats happening here but i think it has something to do with the shared mailboxes. With cyrus i had following folder structure: user1 -> inbox -> subfolders -> user -> user1 -> user2 With dovecot the folder structure look like: user1 -> inbox -> subfolders -> shared -> user1 -> inbox -> user2 -> inbox is there any way to show inbox directly in user1/user2 folder without having an inbox subfolder? Am 22.07.2012 00:04, schrieb Claus Rosenberger:> Hi, > > with fetching the folder structure with the webclient Tine i can see following error messages inside of the logfiles: > > Panic: file mail-storage.c: line 791 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns->prefix, ns->prefix_len-1) == 0) > > Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x448fa) [0x7f70036db8fa] -> /usr/lib/dovecot/libdovecot.so.0(+0x44946) [0x7f70036db946] -> /usr/lib/dovecot/libdovecot.so.0(+0x1b8ca) [0x7f70036b28ca] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open_stream+0) [0x7f70039a1550] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open+0xf) [0x7f70039a156f] -> dovecot/imap(cmd_select_full+0x14a) [0x40db1a] -> dovecot/imap(command_exec+0x3d) [0x41160d] -> dovecot/imap() [0x41058e] -> dovecot/imap() [0x41066d] -> dovecot/imap(client_handle_input+0x135) [0x410895] -> dovecot/imap(client_input+0x5f) [0x4111bf] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x36) [0x7f70036e7ea6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9f) [0x7f70036e8f2f] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x28) [0x7f70036e7e48] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f70036d4103] -> dovecot/imap(main+0x2a5) [0x419695] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7f7003353c8d] -> dovecot/imap() [0x408f49] > > Fatal: master: service(imap): child 21152 killed with signal 6 (core dumps disabled) >