[dev] Quota 'NO LIMIT' Bug - reopen?

Mike Cochrane mike@graftonhall.co.nz
Wed Nov 20 10:52:49 2002


> ----- Message from Leena.Heino@uta.fi ---------
> > User has no mail but a quota (eg new user)
> >  - You get empty array (what to show? error?)
> > User had no qouta set and may or may not have messages.
> >  - You get empty array (show NO LIMIT)
> This applies to Cyrus IMAP systems:
> If user has no mail, but quota is set then:
> quota array usage=0 limit=something

That is not correct. 
If the user has a quota set, but no mail or folders then the imap_get_quota
returns false. 

This is easily demonstrated with a new account. Send it an email so there is one
in the inbox and it all works fine. Delete that email and purge it and
imap_get_quota starts returning false again.

- Mike :-)


More information about the dev mailing list