Hi,

there seems to be no problem setting quotas for a user.  E.g.

 $ cyradm
 imapserver> sq user.testuser 5000
 imapserver> lq user.testuser
  STORAGE 0/5000 (0%)
 imapserver> lqr user.testuser.subfolder
 user.testuser STORAGE 0/5000 (0%)
 imapserver> quit
 $

However, the corresponding IMAP command does not work:

 $ telnet 0 143
 Trying 0.0.0.0...
 Connected to 0.
 Escape character is '^]'.
 * OK imapserver Cyrus IMAP4 v2.1.0 server ready
 a01 login testuser ******
 a01 OK User logged in
 a02 getquotaroot inbox
 * QUOTAROOT inbox user.testuser
 * QUOTA user.testuser (STORAGE 0 5000)
 a02 OK Completed
 a03 getquota inbox
 a03 NO Permission denied
 a04 getquotaroot inbox.subfolder
 * QUOTAROOT inbox.subfolder user.testuser
 * QUOTA user.testuser (STORAGE 0 5000)
 a04 OK Completed
 a05 getquota inbox.subfolder
 a05 NO Permission denied
 a06 logout
 * BYE LOGOUT received
 a06 OK Completed
 Connection closed by foreign host.
 $


This is the case for 2.0.16 as well as 2.1 (I recently upgraded).  
What am I missing?

Background info: used system is linux with 2.4 kernel and libc6,
the cyrus server is working fine on all behalfes (2.0.16 and 2.1).

"cyradm> ver" gives:

name       : Cyrus IMAPD
version    : v2.1.0 2001/12/06 17:48:25
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : Linux
os-version : 2.4.2-2smp
environment: Cyrus SASL 2.0.5
             Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
             OpenSSL 0.9.6 24 Sep 2000
             CMU Sieve 2.0
             TCP Wrappers
             lock = flock
             auth = unix
             idle = poll
             mboxlist = db3


Regards,

- Birger

Reply via email to