|
i've upgraded courier to 1.4.2 and
now GETQUOTA works fine. the problem is, that
php function imap_get_quota returns the limit of
message number instead of storage.
i'm using userdb and limiting both maildir size and
maximum number of messages
per user. if only quota="1000S" is set, then
imap_get_quota() returns the right values,
but if i set quota="1000S,100C" it returns me
100(messages limit), instead of 1000.
has anyone written a php function, which solves
this problem? i saw a squirrelmail's plugin,
but it uses some squirrelmail-specific functions,
which to adapt to IMP is a bit difficult.
regards,
Dziugas
|
