Re: Set quota "none" using Cyrus::IMAP::Admin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/17/2012 04:24 PM, Wolfgang Breyha wrote:
> Bron Gondwana wrote, on 17.01.2012 11:36:
>> On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote:
>>> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/
>>> There is a setquota function which should accept "none" for removing
>>> quota. But that does not work
>>>
>>> How do I set unlimited quota using the setquota function
>> Does '-1' work?
> Setting an "empty" quota works:
>
> use Cyrus::IMAP::Admin;
>
> print "setting some quota\n";
> my $quotaroot = "user.mailboxid";
> my @quotaargv = ($quotaroot, "STORAGE", 500);
> $res = $backend->setquota(@quotaargv);
>
> print "setting \"unlimited\"\n";
> @quotaargv = ($quotaroot);
> $res = $backend->setquota(@quotaargv);
>
> Greetings, Wolfgang
That means we omit the word "STORAGE" , thanks .. will try that.

Hope that goes into the document











----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux