Page MenuHomePhorge

No MessageRead events on shared folders
Open, NormalPublic8 Story Points

Description

When marking a message as read in a shared mailbox, no events are triggered by Cyrus. As opposed to marking a message read in a personal folder where a "MessageRead" is sent out.

Here's the IMAP log from the operation in question where no events got recorded in the log:

C: A0005 SELECT "Shared Folders/shared/Collected"
S: * 2 EXISTS
S: * 0 RECENT
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Ok
S: * OK [UNSEEN 2] Ok
S: * OK [UIDVALIDITY 1429518712] Ok
S: * OK [UIDNEXT 3] Ok
S: * OK [HIGHESTMODSEQ 16] Ok
S: * OK [URLMECH INTERNAL] Ok
S: * OK [ANNOTATIONS 65536] Ok
S: A0005 OK [READ-WRITE] Completed
C: A0006 UID STORE 2 +FLAGS.SILENT (\Seen)
S: A0006 OK Completed

Steps to reproduce and test:

  1. Enable event notifications for Cyrus (event_notifier: log in /etc/imapd.conf)
  2. Create a "Shared Mail Folder" in Webadmin enabled for email receiving:
    • Folder Name: Collected
    • Email Address: collected@example.org
    • Recipient(s) Access List: collected@example.org
    • IMAP Access Rights: anyone (lrswiptn)
  3. Log in as regular user john.doe@example.org
  4. Send a message to collected@example.org
  5. Subscribe to the shared folder "Shared Folders/shared/Collected"
  6. Open the message list of the shared folder in mail view
  7. Mark the new test message as read
  8. Check logs in /var/log/maillog

Expected results:

  • Log entry from notifyd with "event":"MessageRead"
  • uri paramater of the JSON content starts with imap://<hostname>/shared/Collected%40example.org

Details

Ticket Type
Task

Event Timeline

bruederli assigned this task to vanmeeuwen.
bruederli raised the priority of this task from to 60.
bruederli updated the task description. (Show Details)
bruederli changed Ticket Type from Task to Task.
bruederli subscribed.
vanmeeuwen edited a custom field.

This issue is still pending in cyrus-imapd-2.5.2-1.1.x86_64 and blocks a use/test case for LHM.

vanmeeuwen edited projects, added Sprint Server 201522; removed Restricted Project.May 22 2015, 9:34 AM
vanmeeuwen lowered the priority of this task from 60 to Normal.Mar 22 2019, 12:28 PM

Correcting the priority from 60/40 to Normal