Hello!
I use dovecot 2.1.12 locally on a 32bit Linux with an ext4 filesystem and after
deleting a lot of emails from a mbox folder, I now get the following messages in
the log:
dovecot: imap(amied): Panic: file mbox-sync.c: line 1351
(mbox_sync_handle_eof_updates): assertion failed: (offset == 0 || offset >
31)
dovecot: imap(amied): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x4559a) [0x6f68959a] ->
/usr/lib/dovecot/libdovecot.so.0(+0x45611) [0x6f689611] ->
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x6f658fa0] ->
/usr/lib/dovecot/libdovecot-storage.so.0(+0x2d707) [0x6f708707] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mbox_sync+0x53) [0x6f7091d3] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mbox_storage_sync_init+0x6d)
[0x6f70936d] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x3b) [0x6f72333b]
-> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x3f) [0x6f72347f]
-> dovecot/imap(cmd_select_full+0x16b) [0x805529b] ->
dovecot/imap(cmd_select+0x17) [0x8055c57] -> dovecot/imap(command_exec+0x32)
[0x80596f2] -> dovecot/imap() [0x80586fd] -> dovecot/imap() [0x805880d]
-> dovecot/imap(client_handle_input+0x125) [0x8058a05] ->
dovecot/imap(client_input+0x60) [0x80592f0] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x44) [0x6f6981f4] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xce) [0x6f6991ce] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x6f697cd0] ->
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x2e) [0x6f680dbe] ->
dovecot/imap(main+0x279) [0x804fdd9] ->
/lib/libc.so.6(__libc_start_main+0xf5) [0x6f49bad5] -> dovecot/imap()
[0x804ff51]
The mbox file seems to be unchanged and a .lock file remains even after stopping
dovecot. The folder is not accessible any more. A fix would be nice. :-)
dovecot config:
listen = 127.0.0.1
mail_fsync = never
mail_location = maildir:/var/mails/%u
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 {
inbox = no
location = mbox:/var/mails/mbox/%u
prefix = mbox/
separator = /
}
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator = /
}
passdb {
args = *
driver = pam
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = imap
ssl_cert = </etc/ssl/dovecot/server.pem
ssl_key = </etc/ssl/dovecot/server.key
userdb {
driver = passwd
}
protocol lda {
mail_plugins = sieve
}
Greetings
Antje