A plugin that shows quota information with a pie chart for Roundcube.
I only test this plugin with following environments. Other setup may work with luck.
- PHP: >=
5.4.0
Quota plugin is used in Roundcube to show used space and free space for given mailbox.
This plugin has been published on Packagist by the name of jfcherng-roundcube/quota.
- Go to your
ROUNDCUBE_HOME
(i.e., the root directory of your Roundcube). - Run
composer require jfcherng-roundcube/quota
. - You may edit the
config.inc.php
under this plugin's directory if you want to do some configurations.
- Create folder
quota
inROUNDCUBE_HOME/plugins
if it does not exist. - Copy all plugin files there.
- Copy
config.inc.php.dist
toconfig.inc.php
and editconfig.inc.php
if you want. - Edit
ROUNDCUBE_HOME/conf/config.inc.php
locate$config['plugins']
and add'quota',
there:
<?php
// some other codes...
$config['plugins'] = array(
// some other plugins...
'quota', // <-- add this
);
sudo vim /etc/dovecot/conf.d/90-quota.conf
plugin {
quota = maildir:User quota
quota_rule = *storage=900M
quota_rule2 = Trash:storage=+100M
...
}
sudo service dovecot restart
You may also refer to the official document of Dovecot's quota plugin: https://wiki.dovecot.org/Quota/Configuration
Feel free to finish this section by submitting a Pull Request.