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
--
   .:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
                .:.Regionales Rechenzentrum (RRZK).:.
  .:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.

Attachment: p7sIfohK8Rvma.p7s
Description: S/MIME cryptographic signature

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

Reply via email to