cumulativ imap quota (roundcube)

shanti

Verified User
Joined
Apr 8, 2009
Messages
96
Location
Wien / Vienna - Austria
Hi

i found the following situation and am looking for a solution

POC:
I have a DA-user (cus1) with a 5000MB-Package (Diskspace)
only one domain - one primary email account ([email protected]) .. with a 200MB Mailbox-Limit and there are already 100MB used in this Mailbox (MAILBOXFREESPACE=100MB)

lets say the account's diskspace-quote is at 99% (only 50MB diskspace free ( DAUSERFREESPACE=50M )

if [email protected] logs in to Roundcube .. he/she/it sees quotainfo at 100MB free ( ${MAILBOXFREESPACE} ) .. but in fact only 50MB should be shown available .

so to get cumulative values, it should calc
if $MAILBOXFREESPACE < $DAUSERFREESPACE ; then $ROUNDCUBEFREESPACE = $DAUSERFREESPACE

not just show $MAILBOXFREESPACE knowing that this will not be true

if you say this makes sense i want to write a roundcube-plugin fixing this misinterpretation

RFC
br
-c-
 
Back
Top