resutl from quota() funciton in Cyrus:imap:admin is different to cyradm.

sam wun sam.wun at authtec.net
Wed Nov 10 10:33:44 EST 2004


Hi,

I don't know how to  use the quota() function from the Cyrus::imap:admin 
module.
The result returned from the quota() function  is different from running 
lq command in cyradm.
Please see below for illustration.

In cyradm:

 > lq user/bob at mydom.com
 STORAGE 0/512000 (0%)

Cyrus::IMAP:Admin:

 my %quota;
  my $e;
  my $r;
  my $mailbox = 'user/bob at mydom.com';
  ($e, %quota, $r) = $cyrus->quota($mailbox);
  print "E: ".$e."\n";
  print "%quota: ".%quota."\n";

E: STORAGE

%quota: 1/8

I total feel confused with this value from the quota() function. What is  1/8 stands for? how come it's not 0/512000 ?

Thanks
Sam


---
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