[imp] Displaying Quota
Jan Schneider
jan@horde.org
Mon, 27 May 2002 12:39:43 +0200
Zitat von ajit k jena <ajit@cc.iitb.ac.in>:
>
> 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.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft