"NOTIFY SET (mailboxes INBOX (...))" crashes the IMAP client

Timo Sirainen tss at iki.fi
Mon Sep 7 20:09:26 UTC 2015


On 07/26/2015 07:00 PM, Guilhem Moulin wrote:
> On Sun, 19 Jul 2015 at 19:21:16 +0200, Guilhem Moulin wrote:
>> The "subtree" mailbox filter has the same problem, but the
>> non-parameterized ones ("inboxes", "personal" and "subscribed") work
>> fine.
> 
> Actually there are further problem with the INBOX namespace, to which I'm
> subscribed:
> 
>     $ /usr/lib/dovecot/imap
>     S1: * PREAUTH [CAPABILITY IMAP4rev1 … MOVE NOTIFY SPECIAL-USE] Logged in as guilhem
>     C1: a1 LIST "" (INBOX TRASH) RETURN (SUBSCRIBED)
>     S1 * LIST (\Subscribed \UnMarked) "/" TRASH
>     S1 * LIST (\Subscribed) "/" INBOX
>     S1: a1 OK List completed (0.003 secs).
>     C1: b1 NOTIFY SET (SUBSCRIBED (MessageNew MessageExpunge FlagChange))
>     S1: b1 OK NOTIFY completed (0.002 secs).
> 
>     $ /usr/lib/dovecot/imap
>     S2: * PREAUTH [CAPABILITY IMAP4rev1 … MOVE NOTIFY SPECIAL-USE] Logged in as guilhem
>     C2: a2 APPEND INBOX {1+}
>     C2: x
>     S2: a2 OK [APPENDUID 1384472528 26087] Append completed (0.008 secs).
> 
> This crashes S1 as well:
> 
>     S1: imap(guilhem): Panic: file mail-storage.c: line 1511 (mailbox_is_subscribed): assertion failed: (box->list->subscriptions != NULL)

Fixed: http://hg.dovecot.org/dovecot-2.2/rev/73acc7075146


More information about the dovecot mailing list