<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Sebastian,<br>
Please take a look at this thread from January of last year, which
discusses the issue in full.<br>
<br>
<a class="moz-txt-link-freetext" href="http://comments.gmane.org/gmane.mail.imap.cyrus/36194">http://comments.gmane.org/gmane.mail.imap.cyrus/36194</a><br>
<br>
-nic<br>
<br>
<div class="moz-cite-prefix">On 07/25/2013 10:51 AM, Sebastian
Hagedorn wrote:<br>
</div>
<blockquote
cite="mid:6E66FB5AE9A68EE05DA4A319@tyrion.rrz.uni-koeln.de"
type="cite">Hi,
<br>
<br>
you can remove the quota for a mailbox with cyradm by setting the
quota to none:
<br>
<br>
$ cyradm cyrus
<br>
Password:
<br>
server> sq user/xxx none
<br>
remove quota
<br>
server>
<br>
<br>
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:
<br>
<br>
$result = $imapcon->setquota("user/$user", "STORAGE", $quota);
<br>
<br>
If I set $quota to 'none', I get:
<br>
<br>
Error: xxx, STORAGE: none: not a number
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nic Bernstein <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight, Inc. <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
219 N. Milwaukee St., Suite 2a v. 414.272.4477
Milwaukee, Wisconsin 53202
</pre>
</body>
</html>