Re: Removing quota via IMAP?

2002-02-05 Thread Ken Murchison



Amos Gouaux wrote:
 
 In IMAP, how do you specify that a quota should be removed?
 I thought it might be something like this:
 
  . SETQUOTA user.amos ()
 
 but now I'm not so sure

Yup.  This is currently the only way, unless you want to hack the quota
file.  This removes ALL of the quota, but since Cyrus only supports
STORAGE, this isn't a problem.  I'll look into fixing cyradm so this can
be done with 'sq'.

Ken
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: Removing quota via IMAP?

2002-02-05 Thread Amos Gouaux

 On Tue, 05 Feb 2002 10:21:57 -0500,
 Ken Murchison [EMAIL PROTECTED] (km) writes:

 . SETQUOTA user.amos ()

km Yup.  This is currently the only way, unless you want to hack the quota
km file.  This removes ALL of the quota, but since Cyrus only supports
km STORAGE, this isn't a problem.  I'll look into fixing cyradm so this can

After issuing this command, what should be the response from the
server for a GETQUOTA?  Looks like I'm getting:

 * QUOTA user.amos ()\r\n

Should it instead say?

 NO Quota root does not exist\r\n

I'm afraid I've never really understood this QUOTA / QUOTAROOT
business.

-- 
Amos




Re: Removing quota via IMAP?

2002-02-05 Thread Ken Murchison



Amos Gouaux wrote:
 
  On Tue, 05 Feb 2002 10:21:57 -0500,
  Ken Murchison [EMAIL PROTECTED] (km) writes:
 
  . SETQUOTA user.amos ()
 
 km Yup.  This is currently the only way, unless you want to hack the quota
 km file.  This removes ALL of the quota, but since Cyrus only supports
 km STORAGE, this isn't a problem.  I'll look into fixing cyradm so this can
 
 After issuing this command, what should be the response from the
 server for a GETQUOTA?  Looks like I'm getting:
 
  * QUOTA user.amos ()\r\n
 
 Should it instead say?
 
  NO Quota root does not exist\r\n
 
 I'm afraid I've never really understood this QUOTA / QUOTAROOT
 business.

Its a subtle difference, but they both mean that there is no quota.  The
former means that there is a quota file, but no quotas set.  The latter
means that there is no quota file at all.

BTW, I committed a fix to cyradm so that 'sq mailbox none' removes the
quota.  As a side-effect, 'sq mailbox' also removes the quota, but
this is undocumented.

Ken
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp