[ postfixadmin-Patches-2060309 ] Patch for used quota viewing
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2008-08-19 20:08:54
|
Patches item #2060309, was opened at 2008-08-19 18:19 Message generated for change (Comment added) made by gingerdog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2060309&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: shario (shario) Assigned to: Nobody/Anonymous (nobody) Summary: Patch for used quota viewing Initial Comment: Here is a patch to safely view used quota for virtual mailboxes, if they are stored in a dictionary db table as described in: http://wiki.dovecot.org/Quota/Dict Please note that the instructions do not mention that you also need to change your user_query to read the proxy dict plugin name such as: CONCAT('dict:storage=',floor(quota/1000),' proxy::dictquota') as quota Adds boolean $CONF['used_quotas'] Also adds rounding to divide_quota() display function. This resolves the feature request http://sourceforge.net/tracker/index.php?func=detail&aid=1724759&group_id=191583&atid=937967 Could be merged to trunk? ---------------------------------------------------------------------- >Comment By: GingerDog (gingerdog) Date: 2008-08-19 20:09 Message: Logged In: YES user_id=1761957 Originator: NO Hi, Thank you for taking time to fix this; the patch itself looks fine, and I'll merge it in a few days. If possible, it would help me if someone else could test this and confirm it works as expected (I don't use Dovecot so can't confirm it). Also, could you also provide a patch for the documentation that needs changing - I'm not sure how the quota figures get updated in the database... is there some sort of dovecot call back? Is this what the dict:storage stuff is for? I've no real idea of how Dovecot works, so the description you've given in the patch doesn't help me! thanks David ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2060309&group_id=191583 |