Topic: bug in users quota calculation and display
dbmailadmin version 1.0.2
there is bug in file:
dbmailadmin/templates/default/dbmail_mysql/user/list.html
{% else %}
{% set percent = r.curmail_size |getPercentage(r.maxmail_size |int * 1024 * 1024) %}
because dbmail_users.maxmail_size is already in bytes there is no need to multiply. so suggested fix is:
{% set percent = r.curmail_size |getPercentage(r.maxmail_size |int) %}
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.