[Dovecot] imap-quota not working

arvids arvids at mpe.lv
Sun Oct 5 17:55:48 EEST 2008


On Sunday 05 October 2008 17:15:45 Timo Sirainen wrote:
> That's the point of using prefetch userdb. Either don't use it, or copy
> all the quota_* fields to password_query as well (with userdb_ prefix).

Thank you very much for pointing it out, I forgot about this prefetch thing.
Now imap quota is working, but there is some problem:

Oct  5 17:44:09 host dovecot: Panic: IMAP(testuser): file mail-index-sync.c: line 411 (mail_index_sync_begin_to): assertion failed: (!index->syncing)
Oct  5 17:44:09 host dovecot: IMAP(testuser): Raw backtrace: imap [0x80cbdcc] -> imap [0x80cc582] -> imap [0x80cbf28] -> imap [0x80ad33c] -> imap(mail_index_sync_begin+0x24) [0x80acfb4] ->
imap(maildir_sync_index_begin+0x3f) [0x807021f] -> imap [0x806fc03] -> imap(maildir_storage_sync_init+0x57) [0x806fd97] -> imap(mailbox_sync_init+0x11) [0x809e421] -> imap(mailbox_sync+0x16
) [0x809e496] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so [0xb7dfbe89] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so [0xb7dfc011] -> /usr/local/dovecot/lib/d
ovecot/imap/lib10_quota_plugin.so(quota_count+0x78) [0xb7dfc0b8] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so [0xb7dfd0eb] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota
_plugin.so [0xb7dfd29e] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so(quota_get_resource+0x4c) [0xb7dfb4bc] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so [0xb7
dfb8ff] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so(quota_tr
Oct  5 17:44:09 host dovecot: IMAP(testuser): ocal/dovecot/lib/dovecot/imap/lib10_quota_plugin.so [0xb7dffb18] -> /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so [0xb7dffbc9] -> i
map(maildir_sync_index+0x767) [0x8070bf7] -> imap [0x806fba0] -> imap(maildir_storage_sync_init+0x57) [0x806fd97] -> imap(mailbox_sync_init+0x11) [0x809e421] -> imap(imap_sync_init+0x41) [0
x80659a1] -> imap [0x8066090] -> imap(cmd_sync_delayed+0x8d) [0x806638d] -> imap [0x806047f]
Oct  5 17:44:09 host dovecot: child 21618 (imap) killed with signal 6

This crash happens every time, when message count quota is reached
and I am trying to delete all messages.

Regards, Arvids


More information about the dovecot mailing list