From: Jose A. B. P. <ro...@br...> - 2003-03-02 19:37:51
|
El Dom 02 Mar 2003 19:30, Brett Foster escribió: > If I understand this correctly he wants to have a shared folder for jokes? Well, jokes was an example, I want to share more folders :-) > so normally: > user.someuser - is the inbox > user.jokes - shared jokes folder? I will write a more elaborated (almost real) example. Let be: - Cyrus is the imap server. - "cyradm" is the administrator tool for Cyrus. - "lm" is the command to list mailboxes. - "lam" is the command to list ACLs on mailboxes. - "boss" is the cyrus imap administrator. - "ronin" and "john" are two mail users. [ronin@www ronin]$ cyradm --user boss localhost Password: localhost.localdomain> lm user.john (\HasChildren) user.john.sent (\HasNoChildren) user.ronin (\HasChildren) user.ronin.sent (\HasNoChildren) user.ronin.jpackage (\HasNoChildren) user.ronin.jwebmail (\HasNoChildren) user.ronin.mandrake (\HasNoChildren) user.ronin.homecinema (\HasNoChildren) localhost.localdomain> lam user.john john lrswipcda localhost.localdomain> lam user.ronin.jwebmail john lrs ronin lrswipcda With Cyrus, each folder has ACLs, so you can set permissions on it in order to give different permissions to different users. In the example, "ronin" has set read permissions for "john" on his folder "jwebmail". That folder is the destination for a mailing list where "ronin" is subscribed. He can write on it, but "john" is able to read the messages in that folder too, although he can't delete them or put new messages. If "ronin" login in "cyradm" as himself he only see his folders: [ronin@www ronin]$ cyradm localhost Password: localhost.localdomain> lm INBOX (\HasChildren) INBOX.sent (\HasNoChildren) INBOX.jpackage (\HasNoChildren) INBOX.jwebmail (\HasNoChildren) INBOX.mandrake (\HasNoChildren) INBOX.homecinema (\HasNoChildren) But if "john" login in "cyradm" he can see other folders if he has the rights to do that: [john@www john]$ cyradm localhost Password: localhost.localdomain> lm INBOX (\HasChildren) INBOX.sent (\HasNoChildren) user.ronin.jwebmail (\HasNoChildren) Here is the problem, with jwebmail he can only see folders inside his INBOX, so he is not able to access jwebmail folder. Regards. |