[imp] IMP, Quotas, Courier-IMAP and LDAP

Syahrul Sazli Shaharir sazli@myjaring.net
Wed Nov 27 05:48:59 2002


On Tue, 26 Nov 2002 bclark@protocolusa.com wrote:

> Thanks for the advice. I went back to the original code as you suggested
> and it does work. However, it displays incorrect quota information. I
> even deleted the maildirsize file in my home directory so that qmail
> would create a new one just to make sure it was "clean". As you can see
> in my maildirsize file, I have a maildir quota of approx. 900MB (the
> 900000000S number) and 5,000 messages (the 5000C number). However, the
> quota that IMP displays looks like this:
>
> 1.59MB / 4.88MB (32.50%)
>
> It looks to me like IMP is reading the 5000C as the maildir size quota
> rather than the message count quota as it should.

I think this is due to broken imap_get_quota() function (See
http://www.php.net/manual/en/function.imap-get-quota.php ), which was
not fixed until latest php CVS/4.3.

So you can either try php-cvs/4.3 and change imp_show_quota as
demonstrated in php manual above, or don't impose quota on message count
for now (remove ,5000C in quota limit) - just mailbox size, then it should
work..

--sazli
cd /open/source; make world
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x06D4113E
Key fingerprint = 0776 CC02 2C3F C0FF 7312  0C3E 0593 AF64 06D4 113E




More information about the imp mailing list