Re: cyradm not showing metadata if logged as admin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/Sent@xxxxxxx
> {user/info/Sent@xxxxxxx}:
>    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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux