On 2007-05-09, Timo Sirainen <tss@iki.fi> wrote:
Fixed it to log an error instead in such situations: http://dovecot.org/list/dovecot-cvs/2007-May/008728.html
Great, thanks!
We just moved a large cluster (100k+ active accounts) from courier pop/imap to dovecot (v1.0.0), and used the courier-dovecot-migrate.pl to do the conversion of maildirs.
A couple of other failures we've been hitting is:
#1: deliver(xxxxx@xxxxx): file mail-index-sync-update.c: line 841 (mail_index_sync_update_index): assertion failed: (view->hdr.messages_count == map->hdr.messages_count) deliver(xxxxx@xxxxx): Raw backtrace: /usr/local/dovecot/libexec/dovecot/deliver(i_syslog_panic_handler+0x1c) [0x45d67c] -> /usr/local/dovecot/libexec/dovecot/deliver [0x45d27c] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_sync_update_index+0x86f) [0x446abf] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_sync_begin+0x245) [0x444665] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_sync_index_begin+0x45) [0x416885] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_transaction_save_commit_pre+0x68) [0x41c778] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_transaction_commit+0x70) [0x417730] -> /usr/local/dovecot-1.0.0/lib/dovecot/lda/lib10_quota_plugin.so [0x2a9557c3a8] -> /usr/local/dovecot/libexec/dovecot/deliver(deliver_save+0x100) [0x411360] -> /usr/local/dovecot/libexec/dovecot/deliver(main+0xb62) [0x412132] -> /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x307b11c3fb] -> /usr/local/dovecot/libexec/dovecot/deliver [0x410b0a]
#2: deliver(xxxxxx@xxxxxx): file mail-index.c: line 983 (mail_index_sync_from_transactions): assertion failed: (hdr.messages_count == (*map)->hdr.messages_count) deliver(xxxxxx@xxxxxx): Raw backtrace: /usr/local/dovecot/libexec/dovecot/deliver(i_syslog_panic_handler+0x1c) [0x45d67c] -> /usr/local/dovecot/libexec/dovecot/deliver [0x45d27c] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_map+0x87) [0x43e5f7] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_sync_begin+0x9e) [0x4444be] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_sync_index_begin+0x45) [0x416885] -> /usr/local/dovecot/libexec/dovecot/deliver [0x4173aa] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_sync_last_commit+0x47) [0x4174c7] -> /usr/local/dovecot-1.0.0/lib/dovecot/lda/lib10_quota_plugin.so [0x2a9557c3a8] -> /usr/local/dovecot/libexec/dovecot/deliver(deliver_save+0x100) [0x411360] -> /usr/local/dovecot/libexec/dovecot/deliver(main+0xb62) [0x412132] -> /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x307b11c3fb] -> /usr/local/dovecot/libexec/dovecot/deliver [0x410b0a]
#3: deliver(xxxxxxxxxxx@xxxxx): file maildir-save.c: line 520 (maildir_transaction_save_commit_pre): assertion failed: (first_uid != 0) deliver(xxxxxxxxxxx@xxxxx): Raw backtrace: /usr/local/dovecot/libexec/dovecot/deliver(i_syslog_panic_handler+0x1c) [0x45d67c] -> /usr/local/dovecot/libexec/dovecot/deliver [0x45d27c] -> /usr/local/dovecot/libexec/dovecot/deliver [0x41c9ed] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_transaction_commit+0x70) [0x417730] -> /usr/local/dovecot-1.0.0/lib/dovecot/lda/lib10_quota_plugin.so [0x2a9557c3a8] -> /usr/local/dovecot/libexec/dovecot/deliver(deliver_save+0x100) [0x411360] -> /usr/local/dovecot/libexec/dovecot/deliver(main+0xb62) [0x412132] -> /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x307b11c3fb] -> /usr/local/dovecot/libexec/dovecot/deliver [0x410b0a]
#4: dovecot: POP3(xxxxx@xxxxxxx): file maildir-sync.c: line 1075 (maildir_sync_index): assertion failed: (uid > prev_uid) dovecot: POP3(xxxxx@xxxxxxx): Raw backtrace: /usr/local/dovecot/libexec/dovecot/pop3 [0x45d73c] -> /usr/local/dovecot/libexec/dovecot/pop3 [0x45d03c] -> /usr/local/dovecot/libexec/dovecot/pop3(maildir_sync_index+0x769) [0x417029] -> /usr/local/dovecot/libexec/dovecot/pop3 [0x417171] -> /usr/local/dovecot/libexec/dovecot/pop3(maildir_storage_sync_init+0x65) [0x4173c5] -> /usr/local/dovecot/libexec/dovecot/pop3(client_create+0x15d) [0x4111dd] -> /usr/local/dovecot/libexec/dovecot/pop3(main+0x554) [0x412fd4] -> /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x389e61c3fb] -> /usr/local/dovecot/libexec/dovecot/pop3 [0x410a2a]
The "deliver" bugs are quite bad, as they lead to incoming messages getting bounced..
-jf