Page 1 of 1

global mailbox permissions

Posted: Tue Sep 25, 2007 8:42 am
by tantony
Hi,

Is there a way to set mailbox permissions from the command line on the server (om---- ?) instead inside a client (Webmail, Outlook,...)?

When a new mailbox is created there are set default permissions on the mailbox. Where do i change the default permissions, so for example local users can open all mailboxes?

Most premium user wants to open the complete mailbox (Inbox, sent items, calendar, contacts,..) of another premium user. Is this possible?

kind regards,
Thomas

Re: global mailbox permissions

Posted: Tue Sep 25, 2007 9:28 am
by Valerion
tantony wrote:Is there a way to set mailbox permissions from the command line on the server (om---- ?) instead inside a client (Webmail, Outlook,...)?


Unfortunatedly not. Since SWA is IMAP based and can change it, there is a method to do it that way, by logging into a mailbox and setting the permissions. Once you figure out how SWA does it (which is not documented), you can script all this. May take a while to do, though.

tantony wrote:When a new mailbox is created there are set default permissions on the mailbox. Where do i change the default permissions, so for example local users can open all mailboxes?


Scalix works on a system of "discretionary access control", not "mandatory access control". This means that policy is not forced onto the users, they can choose themselves. Which one is the correct approach is dependant on the specific situation. I guess the intent is "I should decide who sees my mail, no-one else". I do not believe the defaults can be changed.

tantony wrote:Most premium user wants to open the complete mailbox (Inbox, sent items, calendar, contacts,..) of another premium user. Is this possible?


If you have given someone permission in all your folders, they can see all of them. I do it myself, so I know it works.

Posted: Tue Sep 25, 2007 9:44 am
by tantony
That are not so good news for me :-(

Could you give me any hints for a script? What om--- commands do i need an in which order should i run them?

Where are the mailbox permissions stored for each user, list, groups and bb?

From where does omaddu get's the default permissions?

Posted: Thu Sep 27, 2007 5:37 am
by Valerion
The om* commands won't help you here. You will have to write your own mini-IMAP client (possibly in perl using some of the available libs? May be the easiest).

As to your other questions, that's something I can't answer, you will have to ask the Scalix developers. Maybe log a request for his on http://bugzilla.scalix.com

Posted: Thu Sep 27, 2007 3:39 pm
by tantony
Thank you Valerion.