Re: Default ACL for new user mailbox

2002-11-20 Thread Ken Murchison


[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> Now everything is clear it's what I was also thinking but I was a bit
> confused from the answer of the others. Is there actually another way to
> realize what I want to do ? The only way I can see right now is to create a
> script to cyradm which will create the user's mailbox using createmailbox
> and then set the acl using setaclmailbox to give the admin user full
> rights...


That's it right now.  There is no config option that you can set so that
a single CREATE command will do the trick.  You're going to need a
CREATE and a SETACL, whether you do it via cyradm or script it yourself.


> 
> [EMAIL PROTECTED] wrote:
> >
> > Well I suppose it is a mailbox without a parent because it's the INBOX of
> a
> > user that I am creating and before that nothing exists for that user.
> Again
> > the mailbox I am creating is user.testuser and I tryed setting the
> default
> > acl like that in imapd.conf:
> >
> > defaultacl: cyrus all
> >
> > restarted the master daemon process but it still didn't work !
> >
> > Any ideas ?
> 
> This option is only for toplevel folders.  A user's inbox is actually
> under the user. tree, so it isn't a toplevel mailbox.
> 
> --
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26  Orchard Park, NY 14127
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: Default ACL for new user mailbox

2002-11-20 Thread marc . bigler

Hi,

Now everything is clear it's what I was also thinking but I was a bit
confused from the answer of the others. Is there actually another way to
realize what I want to do ? The only way I can see right now is to create a
script to cyradm which will create the user's mailbox using createmailbox
and then set the acl using setaclmailbox to give the admin user full
rights...

Regards
Marc




|+->
|| |
||  Ken Murchison  |
||  <[EMAIL PROTECTED]>   |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  11/19/02 10:55 PM  |
|| |
|+->
  
>---|
  |
   |
  |  To: [EMAIL PROTECTED]   
   |
  |  cc: Marko Damaschke <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
       |
  |      Subject:     Re: Default ACL for new user mailbox 
   |
  
>---|






[EMAIL PROTECTED] wrote:
>
> Well I suppose it is a mailbox without a parent because it's the INBOX of
a
> user that I am creating and before that nothing exists for that user.
Again
> the mailbox I am creating is user.testuser and I tryed setting the
default
> acl like that in imapd.conf:
>
> defaultacl: cyrus all
>
> restarted the master daemon process but it still didn't work !
>
> Any ideas ?

This option is only for toplevel folders.  A user's inbox is actually
under the user. tree, so it isn't a toplevel mailbox.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp







Re: Default ACL for new user mailbox

2002-11-19 Thread Ken Murchison


[EMAIL PROTECTED] wrote:
> 
> Well I suppose it is a mailbox without a parent because it's the INBOX of a
> user that I am creating and before that nothing exists for that user. Again
> the mailbox I am creating is user.testuser and I tryed setting the default
> acl like that in imapd.conf:
> 
> defaultacl: cyrus all
> 
> restarted the master daemon process but it still didn't work !
> 
> Any ideas ?

This option is only for toplevel folders.  A user's inbox is actually
under the user. tree, so it isn't a toplevel mailbox.

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: Default ACL for new user mailbox

2002-11-19 Thread marc . bigler

Well I suppose it is a mailbox without a parent because it's the INBOX of a
user that I am creating and before that nothing exists for that user. Again
the mailbox I am creating is user.testuser and I tryed setting the default
acl like that in imapd.conf:

defaultacl: cyrus all

restarted the master daemon process but it still didn't work !

Any ideas ?

Regards





Heyho,

Quoting [EMAIL PROTECTED]:

> Well if I read the imapd.conf man page again it states the following:
>
> defaultacl: anyone lrs
> The Access Control List (ACL) placed on a newly-created
> (non-user) mailbox that does not have a parent mailbox.
>
> What I can see here which disturbs me is the "...(non-user) mailbox..."
> part and what I am creating are user mailboxes like user.testuser or
> user.testser.myfolder, so this doesn't work for my case...
>
The mailbox "user.testuser", you create, is a mailbox without a parent
mailbox, isn't it?
All new created mailboxes without a parent mailbox gets the acl from
"defaultacl". All mailboxes, that are children of another get the ACL from
its parent-box. I think, that is what should be said above in the manual.
So if your new top-level-mailbox get the right acl and the user isn't
allowed to change it, all children-boxes of this mailbox get the right acl.

That is my experience.

   Regards
 Marko D.
--
Student of Applied Computer Science
Home: http://www.mdam.de
1st/2nd March 2003 - 5th Chemnitzer Linux-Tag
http://www.tu-chemnitz.de/linux/tag

-
This mail sent through IMP: http://horde.org/imp/








Re: Default ACL for new user mailbox

2002-11-19 Thread Marko Damaschke
Heyho,

Quoting [EMAIL PROTECTED]:

> Well if I read the imapd.conf man page again it states the following:
> 
> defaultacl: anyone lrs
> The Access Control List (ACL) placed on a newly-created
> (non-user) mailbox that does not have a parent mailbox.
> 
> What I can see here which disturbs me is the "...(non-user) mailbox..."
> part and what I am creating are user mailboxes like user.testuser or
> user.testser.myfolder, so this doesn't work for my case...
> 
The mailbox "user.testuser", you create, is a mailbox without a parent 
mailbox, isn't it?
All new created mailboxes without a parent mailbox gets the acl from 
"defaultacl". All mailboxes, that are children of another get the ACL from 
its parent-box. I think, that is what should be said above in the manual.
So if your new top-level-mailbox get the right acl and the user isn't 
allowed to change it, all children-boxes of this mailbox get the right acl.

That is my experience.

   Regards
 Marko D.
-- 
Student of Applied Computer Science
Home: http://www.mdam.de
1st/2nd March 2003 - 5th Chemnitzer Linux-Tag
http://www.tu-chemnitz.de/linux/tag

-
This mail sent through IMP: http://horde.org/imp/



Re: Default ACL for new user mailbox

2002-11-18 Thread marc . bigler

Hi,

Well if I read the imapd.conf man page again it states the following:

defaultacl: anyone lrs
The Access Control List (ACL) placed on a newly-created
(non-user) mailbox that does not have a parent mailbox.

What I can see here which disturbs me is the "...(non-user) mailbox..."
part and what I am creating are user mailboxes like user.testuser or
user.testser.myfolder, so this doesn't work for my case...

Any other ideas ?

Regards
Marc






   

   

[EMAIL PROTECTED] To: [EMAIL PROTECTED] 

 cc: [EMAIL PROTECTED]   

11/18/02 12:31   Subject:     Re: Default ACL for new user 
mailbox 
PM 

   

   





Heyho,

> Is it somehow possible to set a default ACL which a new mailbox will
> inherit when I create it with cyradm ? What I would like to do is give
> automatically full permissions to all new mailboxes to the cyrus
> administrator. Or maybe there is another way to do that ?

Read ' man 5 imapd.conf ' respectively '/etc/imapd.conf' and look for
"defaultacl:".
Its just for your problem.
If you want to give acls to more than one user, you can do it this way:
defaultacl: user1 acl1 user2 acl2 ...

Regards and HTH
 Marko D.

--
Home: http://www.mdam.de
1st / 2nd March 2003 5th Chemnitz LinuxTag
http://www.tu-chemnitz.de/linux/tag

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!









Re: Default ACL for new user mailbox

2002-11-18 Thread mdam
Heyho,

> Is it somehow possible to set a default ACL which a new mailbox will
> inherit when I create it with cyradm ? What I would like to do is give
> automatically full permissions to all new mailboxes to the cyrus
> administrator. Or maybe there is another way to do that ?

Read ' man 5 imapd.conf ' respectively '/etc/imapd.conf' and look for
"defaultacl:".
Its just for your problem.
If you want to give acls to more than one user, you can do it this way:
defaultacl: user1 acl1 user2 acl2 ...

Regards and HTH
 Marko D.

-- 
Home: http://www.mdam.de
1st / 2nd March 2003 5th Chemnitz LinuxTag
http://www.tu-chemnitz.de/linux/tag

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!