[Dovecot] bug report: doveadm assertion failure "mail_index_map_lookup_seq_range"

Timo Sirainen tss at iki.fi
Sun Dec 8 22:32:43 EET 2013

On 6.12.2013, at 15.33, email-from-bobby <email-from-bobby at vishniac.com> wrote:

> A negated subject search on an empty folder causes an assertion failure in doveadm. To reproduce:
> bash-3.2# doveadm mailbox create -u ephraim "Freshly Empty"
> bash-3.2# doveadm search -u ephraim mailbox "Freshly Empty" NOT subject '***JUNK MAIL***'
> doveadm(ephraim): Panic: file mail-index-map.c: line 548 (mail_index_map_lookup_seq_range): assertion failed: (first_uid <= last_uid\
> )

Fixed: http://hg.dovecot.org/dovecot-2.2/rev/d837bd49ddee

> bash-3.2# /Applications/Server.app/Contents/ServerRoot/usr/sbin/dovecotd -n
> # 2.2.5: /Library/Server/Mail/Config/dovecot/dovecot.conf

But note that if you build Dovecot yourself, you lose several Apple-patched functionality, at least unless you add the patches yourself (AFAIK not yet publicly available).

More information about the dovecot mailing list