[imp] Displaying Quota

ajit k jena ajit@cc.iitb.ac.in
Mon, 27 May 2002 16:01:39 +0530


Hi,

I am using courier-imap-1.4.5, horde-2.0, imp-3.0 in a qmail_ldap
setup.

The user quota is set to 5000C, 35000000S in the ldap record for
that user. The IMAP server gives the following results :

	telnet 0 143
	Trying 0.0.0.0...
	Connected to 0 (0.0.0.0).
	Escape character is '^]'.
	* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See COPYING for distribution information.
	1 login ajit.jena dummy
	1 OK LOGIN Ok.
	2 getquota ROOT
	* QUOTA "ROOT" (STORAGE 5 34180 MESSAGE 7 5000)
	2 OK GETQUOTA Ok.
	3 logout
	* BYE Courier-IMAP server shutting down
	3 OK LOGOUT completed
	Connection closed by foreign host.

The above seems to be correct where the STORAGE part is in KB. The
problem is in the file horde/imp/config/conf.php. The values $quota['usage']
and $quota['limit'] refer to the message count rather than disc space
usage. As a result the quota is shown as 7/5000 (and not as 5/34180).

Can someone please guide me as to where I need to look in oder to fix
this problem ??

Thanks for your time.

--ajit

|-----------------------------------------------------------------|
| Ajit K. Jena              Phone : (Office) +91-22-5767751       |
| Computer Centre                            +91-22-5722545 x8750 |
| Indian Institute of Technology    (Home)   +91-22-5722545 x8068 |
| POWAI, Bombay                     Fax   :  +91-22-5723894       |
| PIN 400076, India                 Email :  ajit@cc.iitb.ac.in   |
|-----------------------------------------------------------------|