MessageNew events on shared folders are not logged by egara
Open, NormalPublic3 Story Points


I have a shared email folder "Collected" which is configured to receive messages at Messages are delivery via lmtp into this mailbox. Cyrus triggers the event notification below but egara fails to compose a valid folder path for metadata lookups and crashes with


    "event": "MessageNew",
    "bodyStructure": "(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 55 3 NIL NIL NIL NIL)",
    "messageSize": 929,
    "messages": 3,
    "modseq": 23,
    "pid": 13466,
    "service": "lmtpunix",
    "timestamp": "2015-04-20T16:22:39.019+02:00",
    "uidnext": 4,
    "uri": "imap://;UIDVALIDITY=1429518712/;UID=3",
    "user": "",
    "vnd.cmu.envelope": "(\"Mon, 20 Apr 2015 16:22:30 +0200\" \"Fetch me in shared folder\" ((\"Thomas Bruederli\" NIL \"thomas.bruederli\" \"\")) ((NIL NIL \"thomas.bruederli\" \"\")) ((\"Thomas Bruederli\" NIL \"thomas.bruederli\" \"\")) ((NIL NIL \"collected\" \"\")) NIL NIL NIL \"<>\")",
    "vnd.cmu.midset": [
    "vnd.cmu.sessionId": "",
    "vnd.cmu.unseenMessages": 3


Ticket Type

Event Timeline

bruederli updated the task description. (Show Details)
bruederli raised the priority of this task from to High.
bruederli assigned this task to seigo.
bruederli added a project: Egara.
bruederli changed Ticket Type from Task to Task.
bruederli added a subscriber: bruederli.
bruederli updated the task description. (Show Details)Apr 20 2015, 5:09 PM
schum added a subscriber: schum.Apr 21 2015, 3:05 AM

@petersen, is this eligible for inclusion with #sprint_server_201518?

petersen added a project: Restricted Project.Apr 27 2015, 11:34 AM


Does cyrus always add the domain name to shared folders? ... it almost looks like the URI cyrus is generating is using the sent email address rather than the destination folder, but it is hard to tell since the name of the shared folder and the email address are the same in this test case.

Related note: the crash in egara is intentional given what occurs. It is getting a "no such mailbox" and so it refuses to process the notification (by crashing the worker process). This will happen a few times (retries) and then the notification will eventually get archived as not processable.

Shared Folders/shared/ seems to have a mistaken shared namespace prefix, and the uri parameter should be shared/

vanmeeuwen lowered the priority of this task from High to 60.Apr 28 2015, 11:44 AM

Everything's medium until product owners say different.

vanmeeuwen edited projects, added Sprint Server 201522; removed Restricted Project.May 22 2015, 9:34 AM

I think maybe 3 story points because it is just validation of the work in Cyrus IMAP on which this / with which this crash should have been resolved.

vanmeeuwen edited a custom field.May 22 2015, 9:37 AM
seigo moved this task from Backlog to Doing on the Sprint Server 201522 board.Jun 1 2015, 11:09 AM
petersen added a project: Restricted Project.Dec 10 2015, 3:19 PM
vanmeeuwen lowered the priority of this task from 60 to Normal.Mar 28 2019, 8:13 AM