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

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Ram wrote, on 17.01.2012 12:03: > That means we omit the word "STORAGE" , thanks .. will try that. Yes. I'm always setting "some" quota before to get it into a "defined" state to remove it afterwards. I use it for several years now and recently moved ~100k users without any troubles. Maybe you ha

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
On 01/17/2012 04:24 PM, Wolfgang Breyha wrote: > Bron Gondwana wrote, on 17.01.2012 11:36: >> On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: >>> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ >>> There is a setquota function which should accept "none" for removing >>> quota. But that does not w

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Bron Gondwana
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 my GUI screens are already coded to use Cyrus::IMAP::A

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Wolfgang Breyha
Bron Gondwana wrote, on 17.01.2012 11:36: > On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: >> http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ >> There is a setquota function which should accept "none" for removing >> quota. But that does not work >> >> How do I set unlimited quota using the setq

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
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 my GUI screens are already coded to use Cyrus::IMAP::Admin On 01/17/2012 04:06 PM, Bron Gondwana wrote:

Re: Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Bron Gondwana
On Tue, Jan 17, 2012, at 03:57 PM, Ram wrote: > http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ > There is a setquota function which should accept "none" for removing > quota. But that does not work > > How do I set unlimited quota using the setquota function Does '-1' work? -- Bron Gondw

Set quota "none" using Cyrus::IMAP::Admin

2012-01-17 Thread Ram
http://www.manpagez.com/man/3/Cyrus::IMAP::Admin/ There is a setquota function which should accept "none" for removing quota. But that does not work How do I set unlimited quota using the setquota function Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.