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

2012-01-18 Thread Wolfgang Breyha
On 2012-01-18 14:18, Greg Banks wrote: >> 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+. > > And that isn't correct according to RFC2087. It works only because the > serv

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

2012-01-18 Thread Greg Banks
G'day, On Tue, Jan 17, 2012, at 01:18 PM, Wolfgang Breyha wrote: > 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 >

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

2012-01-17 Thread Wolfgang Breyha
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 comm

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

2012-01-17 Thread Ram
On 01/17/2012 04:27 PM, Bron Gondwana wrote: > > On Tue, Jan 17, 2012, at 04:22 PM, Ram wrote: >> No "-1" also gives an error not a number >> >> Interestingly set_quota function using CPAN module works fine with "none" >> http://search.cpan.org/~eestabroo/IMAP-Admin-1.6.4/Admin.pm >> >> >> But m