Re: Remove quota using Cyrus::IMAP::Admin?

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

 



Sebastian,
Please take a look at this thread from January of last year, which discusses the issue in full.

http://comments.gmane.org/gmane.mail.imap.cyrus/36194

    -nic

On 07/25/2013 10:51 AM, Sebastian Hagedorn wrote:
Hi,

you can remove the quota for a mailbox with cyradm by setting the quota to none:

$ cyradm cyrus
Password:
server> sq user/xxx none
remove quota
server>

But when I try to do the same using Cyrus::IMAP::Admin I get an error, because a number is expected as argument. Is that a bug or a feature? Here's my code:

$result = $imapcon->setquota("user/$user", "STORAGE", $quota);

If I set $quota to 'none', I get:

Error: xxx, STORAGE: none: not a number


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

-- 
Nic Bernstein                             nic@xxxxxxxxxxx
Onlight, Inc.                             www.onlight.com
219 N. Milwaukee St., Suite 2a            v. 414.272.4477
Milwaukee, Wisconsin  53202
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/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