Cyradm question
Christoph Moench-Tegeder
cmt at burggraben.net
Tue Apr 13 08:25:02 EDT 2004
## Dave Carrera (dave at ephgroup.com):
> Can I pass a statement to cyradm to facilitate some automation we are trying
> out.
Why not use Perl and Cyrus::IMAP::Admin?
Fragments (no checking for errors etc):
my $client=Cyrus::IMAP::Admin->new('localhost');
$client->authenticate(-user=>'cyrus', -mechanism=>'login');
$client->create('user.' . $user);
$client->setacl('user.' . $user, postman=>'p');
$client->setquota('user.' . $user, 'STORAGE', 250000);
Regards,
Christoph
--
Spare Space
---
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
More information about the Info-cyrus
mailing list