"NOTIFY SET (mailboxes INBOX (...))" crashes the IMAP client
Timo Sirainen
tss at iki.fi
Mon Sep 7 19:52:31 UTC 2015
On 07/19/2015 08:21 PM, Guilhem Moulin wrote:
> Hi list,
>
> The NOTIFY extension (RFC 5465) works fine for mailboxes in the "virtual/"
> namespace, but it crashes the IMAP client when used with a mailbox in
> the empty "" namespace:
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/fae5feef70af
> ~$ /usr/lib/dovecot/imap
> * PREAUTH [CAPABILITY IMAP4rev1 … NOTIFY SPECIAL-USE] Logged in as guilhem
> a NAMESPACE
> * NAMESPACE (("" "/")("virtual/" "/")) NIL NIL
> a OK Namespace completed.
> b NOTIFY SET (mailboxes virtual/all (MessageNew MessageExpunge))
> b OK NOTIFY completed (0.001 secs).
> c NOTIFY SET (mailboxes INBOX (MessageNew MessageExpunge))
> imap(guilhem): Panic: file mail-namespace.c: line 679 (mail_namespace_find): assertion failed: (ns != NULL)
> imap(guilhem): Error: Raw backtrace: …
> Aborted
>
> The "subtree" mailbox filter has the same problem, but the
> non-parameterized ones ("inboxes", "personal" and "subscribed") work
> fine.
>
> You'll find the output of ‘dovecot -n’ enclosed.
> Cheers,
>
More information about the dovecot
mailing list