Remove quota using Cyrus::IMAP::Admin?

Nic Bernstein nic at onlight.com
Thu Jul 25 12:13:34 EDT 2013


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 at onlight.com
Onlight, Inc.                             www.onlight.com
219 N. Milwaukee St., Suite 2a            v. 414.272.4477
Milwaukee, Wisconsin  53202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20130725/9758085e/attachment.html 


More information about the Info-cyrus mailing list