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

Guilhem Moulin guilhem at fripost.org
Sun Jul 26 16:00:17 UTC 2015


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)
    S1: imap(guilhem): Error: Raw backtrace: […]
    S1: Aborted

This might be related to [0] as it is INBOX-specific as well: APPENDing
a message to TRASH (to which I'm also subscribed) triggers the
MessageNew notification as expected.

    S1: * STATUS TRASH (MESSAGES 3407 UIDNEXT 113820 UNSEEN 1)

-- 
Guilhem.

[0] http://dovecot.org/pipermail/dovecot/2015-July/101514.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150726/51854452/attachment-0001.sig>


More information about the dovecot mailing list