Message store events notification
sebastien.michel at atosorigin.com
Tue Sep 20 10:10:08 EDT 2011
>>> - the ability to turn off notification for SPAM => depends on SPECIAL-USE
>> Hi Sébastien,
>> Would you agree it is useful to be able to turn off notification for other
>> SPECIAL-USE folders as well?
We disable notifications for some technical folders (huge volume and
uninteresting for our case).
I don't know if it makes sense to disable notifications for user's
folders too, since those notifications are not intented to the end
user (not directly)
otherwise IMAP METADATA could be used to turn off notification
>> I'm specifically wondering about folders such as \Trash, \Sent, \Drafts,
>> of you will.
> Assuming that the data is available in the notification, and the cost of
> sending events isn't too high, isn't it better just to run an external
> filter that filters out the events you're not interested in?
I agree. The cost to get the data and send the notification is
insignificant. By default notifications are send for all folders.
I will try to promote this view in-house :)
> We do this with "per-folder conversation counts" stuff in our conversations
> code. We want to know if a conversation is "flagged" or "unread" - so we
> ask for:
> CONVMETA UNREAD FOLDERUNREAD 'Trash'
> and then subtract the second from the first to get the actual count we show
> the users.
More information about the Cyrus-devel