19 Jul
2015
19 Jul
'15
8:21 p.m.
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:
~$ /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,
Guilhem.