(06-08-2010 10:29 PM)JCD Wrote: Having the occupied space feature there could be a need for an extra button, depending on the implementation, but still the above mentioned re-usability of code remains.
How do you plan to get the occupied space? Because of open_basedir restrictions direct accessing maildirsize can't be a solution. Do you plan to have an ispcp engine helper script that does the job for your?
We were planning to use dovecot's quota dictionary. It can use different backends for the storage, we are currently using maildirsize files (the default), but there is the chance that dovecot can use the quotas from the database.
Once it's on the database retrieving it from the UI it's pretty easy.
Cheers