Re: mass permissions change

2004-06-16 Thread Rob Siemborski
On Thu, 10 Jun 2004, Felix Cuello wrote:
  I need to changes mailbox permissions to all users at the same
  time, there is any way to do that?
Recent versions of cyradm support wildcards to the sam command
For example:
sam user.* foo read
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: mass permissions change

2004-06-16 Thread Rob Siemborski
On Thu, 10 Jun 2004, Felix Cuello wrote:
Hmmm... really interesting... Did you know if there are any way to
remove permissions? something like unsetacl user.% :-)
unsetacl user.% anyone ''
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: mass permissions change

2004-06-11 Thread Albert Chin
On Thu, Jun 10, 2004 at 11:36:56PM -0300, Felix Cuello wrote:
 On Thu, Jun 10, 2004 at 09:31:10PM -0500, Albert Chin wrote:
  On Thu, Jun 10, 2004 at 06:06:14PM -0500, Albert Chin wrote:
  BTW, I think setacl takes wildcards. maybe you can do:
 setacl user.% [id] [rights]
 
 
 Hmmm... really interesting... Did you know if there are any way to
 remove permissions? something like unsetacl user.% :-)

deleteacl

-- 
albert chin ([EMAIL PROTECTED])
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


mass permissions change

2004-06-10 Thread Felix Cuello
Hello,

   I need to changes mailbox permissions to all users at the same
   time, there is any way to do that?

   thanks in advance,

   Felix


-- 
Felix Cuello
[EMAIL PROTECTED]
- 818 -

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: mass permissions change

2004-06-10 Thread Albert Chin
On Thu, Jun 10, 2004 at 06:56:13PM -0300, Felix Cuello wrote:
I need to changes mailbox permissions to all users at the same
time, there is any way to do that?

Why not use the Perl module and whip up a small script?

-- 
albert chin ([EMAIL PROTECTED])
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: mass permissions change

2004-06-10 Thread Andrew J Caird
On Thu, 10 Jun 2004, Felix Cuello wrote:

 On Thu, Jun 10, 2004 at 06:06:14PM -0500, Albert Chin wrote:
  Why not use the Perl module and whip up a small script?

 I'm just asking if there is an application to do that, just before
 write the PERL script :).
 What do you think is the best way to do the script?, using
 IMAP::Admin?

 thanks,

 Felix

Felix,
  Cyrus::IMAP::Admin has lots of admin type things, but for a simple
client, which is sort of what you want, you might look at Mail::IMAPClient
on CPAN.  It's pretty much strictly a client, and it's pretty
straightforward in my limited experience.
--
Andrew Caird
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: mass permissions change

2004-06-10 Thread Albert Chin
On Thu, Jun 10, 2004 at 06:06:14PM -0500, Albert Chin wrote:
 On Thu, Jun 10, 2004 at 06:56:13PM -0300, Felix Cuello wrote:
 I need to changes mailbox permissions to all users at the same
 time, there is any way to do that?
 
 Why not use the Perl module and whip up a small script?

BTW, I think setacl takes wildcards. maybe you can do:
   setacl user.% [id] [rights]

-- 
albert chin ([EMAIL PROTECTED])
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: mass permissions change

2004-06-10 Thread Felix Cuello
On Thu, Jun 10, 2004 at 09:31:10PM -0500, Albert Chin wrote:
 On Thu, Jun 10, 2004 at 06:06:14PM -0500, Albert Chin wrote:
 BTW, I think setacl takes wildcards. maybe you can do:
setacl user.% [id] [rights]


Hmmm... really interesting... Did you know if there are any way to
remove permissions? something like unsetacl user.% :-)

thanks again,

Felix


-- 
Felix Cuello
[EMAIL PROTECTED]
- 825 -

Comer, besar y rascar, es solamente empezar. 

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html