On 9.11.2012, at 17.18, Milan Holzäpfel wrote: >>> Oct 24 10:45:19 two dovecot: imap(listen at mjh.name): Panic: file mdbox-storage-rebuild.c: line 773 (rebuild_update_refcounts): assertion failed: (map_uid < msgs[i]->map_uid) Finally looked into this and fixed: http://hg.dovecot.org/dovecot-2.1/rev/8770940057b9