Re: cyradm not showing metadata if logged as admin

Bron Gondwana <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <1491534016.1925085.937035016.0D974BBB@webmail.messagingengine.com>
Not really, no.  It's the same problem we have with the \Seen flag, which is private to each user.

Bron.

On Fri, 7 Apr 2017, at 12:32, ellie timoney wrote:
> Hi Olaf,
> 
> I think this is expected behaviour.   Mailbox annotations in the
> "/private/" namespace are per user -- such that if multiple users have
> access to the same mailbox, they can each have their own annotations on
> it.
> 
> So, when you log into this account with IMAP and set /private/specialuse
> annotations, you're setting those annotations for the user you logged in
> as.
> 
> When you log in as an admin and look at the same mailbox, you're seeing
> the admin's annotations (which you haven't set any), not the user's.
> 
> I don't know if there's an effective way to do what you want.  Can
> anyone else chime in?
> 
> Cheers,
> 
> ellie
> 
> On Fri, Apr 7, 2017, at 12:29 AM, Olaf Frączyk wrote:
> > Hello,
> > 
> > cyrus-imapd-2.5.10-2.3.el7.x86_64 from open build system
> > 
> > I have set metadata for mailboxes:
> > 
> > t3 SETMETADATA "INBOX/Sent" (/private/specialuse "\\Sent")
> > 
> > I can see the metadata from imap connection and from cyradm but only 
> > when logged as user:
> > 
> > t3 LIST (SPECIAL-USE) "" "*"
> > * LIST (\HasNoChildren \Drafts) "/" INBOX/Drafts
> > * LIST (\HasNoChildren \Sent) "/" INBOX/Sent
> > * LIST (\HasNoChildren \Trash) "/" INBOX/Trash
> > * LIST (\HasNoChildren \Junk) "/" INBOX/spam
> > 
> > 192.168.1.8> getmd INBOX/Sent
> > {INBOX/Sent}:
> >    private:
> >      check: NIL
> >      checkperiod: NIL
> >      comment: NIL
> >      sort: NIL
> >      specialuse: \Sent
> >      thread: NIL
> >      expire: NIL
> >      news2mail: NIL
> >      sieve: NIL
> >      squat: NIL
> > 
> > When logged as cyrus admin I get:
> > 
> > 192.168.1.8> getmd user/info/[email protected]
> > {user/info/[email protected]}:
> >    private:
> >      check: NIL
> >      checkperiod: NIL
> >      comment: NIL
> >      sort: NIL
> >      specialuse: NIL
> >      thread: NIL
> >      expire: NIL
> >      news2mail: NIL
> >      sieve: NIL
> >      squat: NIL
> > 
> > I want to be able to set the metadata for users' mailboxes, so the 
> > Outlook and Thunderbird use correct folders.
> > 
> > I tried to give the admin full ACL rights for this mailbox but it didn't 
> > help.
> > 
> > Is there any configuration option to change this behaviour?
> > 
> > Best regards,
> > 
> > Olaf Frączyk
> > 
> > -- 
> > NAVI Sp. z o.o.
> > Promienista 5/1
> > 60-288 Poznań
> > 
> > mobile: +48609769035
> > phone: +48616622881
> > fax: +48616622882
> > http://www.navi.pl
> > 
> > ----
> > Cyrus Home Page: http://www.cyrusimap.org/
> > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> > To Unsubscribe:
> > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


-- 
  Bron Gondwana
  [email protected]
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.