Cannot "STORE 1 +FLAGS (\Seen)"

Conrad Kleinespel conradk at conradk.com
Thu Jul 16 15:43:32 EDT 2015


Hello Dan,

It seems like I had forgotten to include the response to the SELECT
command I had ran on "user.john". It did return "OK" though.

I am looking into Alpine right now. Thanks for the tip ! :-)

Best regards,

Conrad Kleinespel
conradk at conradk.com
+33 6 23 82 42 79

On Wed, Jul 15, 2015, at 11:26 PM, Dan White wrote:
> On 07/15/15 22:59 +0200, Conrad Kleinespel wrote:
> >Hello everyone,
> >
> >I'm trying to fix T171 (https://git.cyrus.foundation/T171): "Missing
> >event notifications for shared folders".
> >
> >As part of that, I'm looking to manually set a shared message as \Seen
> >by a user. While I have made progress in understanding how notifications
> >work inside Cyrus and how to create shared mailboxes, I'm stuck: I don't
> >understand how to set a message as \Seen.
> >
> >Here's what I've tried:
> >- I logged in as an admin with the "LOGIN" command,
> >- I set ACL for myself to be very permissive,
> >- I SEARCH'ed for "UNSEEN" messages, which listed "1" through "7",
> >because I sent myself 7 test messages.
> >
> >Here's a small output taken from telnet:
> >. MYRIGHTS user.john
> >* MYRIGHTS user.john lrswipkxtecda
> >. OK Completed
> >. MYRIGHTS shared.example
> >* MYRIGHTS shared.example lrswipkxtecda
> >. OK Completed
> >. store 1 +FLAGS (\Seen)
> >. NO Permission denied
> >. list "" "*"
> >* LIST (\HasNoChildren) "." user.john
> >* LIST (\HasNoChildren) "." shared.example
> >
> >It seems like I have correctly SELECT'ed the "user.john" mailbox. It
> 
> I don't see that in your output.
> 
> >seems I have rights "ws" as needed to call STORE. However, I'm getting
> >"Permissions denied" when changing the \Seen flag on message "1", which
> >does exist.
> >
> >What am I doing wrong ? Am I misunderstanding the outputs of the
> >commands from the output above ?
> >
> >I would appreciate any help, hint or tip you can give.
> 
> Try enabling telemetry logging, and reproduce your actions with a client.
> That should rule out any syntax issues with your commands, and will give
> you hints as to what you're doing wrong if there are.


More information about the Cyrus-devel mailing list