Cyrus administrative access
Hello
I'm trying to configure an account for administrative access to all mailboxes on a Cyrus IMAP server (v 2.3.7). What I want to do is be able to log on to Cyrus with this account using IMAP and then be able to read all the mailboxes and all the messages on the server. Thus far I have been using a user called cyrus and I can successfully log on as that user and see all the folders on the server; user.name1, user.name2 etc. In can also do an IMAP LIST command against a specific mailbox and see all its subfolders, like Trash etc. But if I try something more, like the IMAP EXAMINE command, Cyrus always responds with the error Permission Denied. I have used the sam command to give the cyrus user l,r and s access permissions to the mailbox. Below is an example:
* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS] server1.dom.local Cyrus IMAP4 v2.3.7-Invoca-RPM-2.3.7-2.el5 server ready
* BAD Invalid tag
* BAD Invalid tag
? LOGIN cyrus ********
? OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User logged in
? LIST "user.test1" "*"
* LIST (\HasChildren) "." "user.test1"
* LIST (\HasNoChildren) "." "user.test1.Drafts"
* LIST (\HasNoChildren) "." "user.test1.Junk"
* LIST (\HasNoChildren) "." "user.test1.Sent"
* LIST (\HasNoChildren) "." "user.test1.Trash"
* LIST (\HasNoChildren) "." "user.test1.spam"
? OK Completed (0.000 secs 7 calls)
? EXAMINE "user.test1"
? NO Permission denied
Anyone have any idea if and how this can be accomplished.
Thanks
Morgan
|