Joe Ellis wrote:
> 
> How can I unset a quota when I use Cyrus::IMAP::Admin?
> 
> $cnx->setquota needs a value for the quota.  I can't leave the quota
> blank.  But in cyradm, I can set and unset quota.  When I want to unset
> the quota in cyradm, I just run: "sq user/mailbox".
> 
> any ideas?

I'm not a Perl expert, but I was able to make the necessary changes to
Shell.pm so that you can remove a quota using a value of "none".

Have you tried using an empty list as the %quota arg?  This is
essentially what need to be used in the actual IMAP SETQUOTA command.

Ken
-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Reply via email to