[imp] Displaying Quota
ajit k jena
ajit@cc.iitb.ac.in
Mon, 27 May 2002 19:37:17 +0530
Hi,
Thanks Jan for your suggestion but it does not work. I recompiled
PHP-4.2.1 and c-client 2001a but have exactly the same problems.
Can anyone pl suggest any other stunts I have to try ??
Regards.
--ajit
> 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).
Then you have a broken c-client compiled into php.
Jan.
--
|-----------------------------------------------------------------|
| 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 |
|-----------------------------------------------------------------|