[SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin
Wolfgang Breyha
wbreyha at gmx.net
Tue Jan 17 07:18:24 EST 2012
Ram wrote, on 17.01.2012 12:17:
> I am using cyrus-imapd-2.4.12-2
> As Wolfgang suggested using
> $imap->setquota("user/$user") removed the quota.
Looking at the code of Cyrus::IMAP::Admin there is no code checking for "none"
or something like that. There are two ways to "craft" a proper IMAP command.
First the way I described setting no STORAGE argument at all resulting in:
SETQUOTA id ()
to remove quota. And second setting
->setquota(<-id->, "STORAGE", "-1")
resulting in
SETQUOTA id (STORAGE -1)
what Bron suggested. That should also work IMO. At least on 2.4.12+.
The man page of Cyrus::IMAP::Admin does not describe how to remove quota at
all. Neither "none" nor anything else. Nothing wrong in that part so far.
Greetings, Wolfgang
--
Wolfgang Breyha <wbreyha at gmx.net> | http://www.blafasel.at/
Vienna University Computer Center | Austria
More information about the Info-cyrus
mailing list