Re: [SOLVED] Re: Set quota "none" using Cyrus::IMAP::Admin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> | http://www.blafasel.at/
Vienna University Computer Center | Austria

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux