Oh, now im getting assert failed with those 2 patches applied.. Sep 9 18:33:59 userimap3 dovecot: Panic: IMAP(xxxxx): file mail-cache.c: line 572 (mail_cache_lock): assertion failed: ((ret <= 0 && !cache->locked) || (ret > 0 && cache->locked)) Cor