jfcherng/quota

A plugin that shows quota information for Roundcube.

Installs: 55

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 2

Forks: 3

Open Issues: 2

Type: roundcube-plugin

0.0.13 2019-06-21 19:12 UTC

README

Roundcube Plugins GitHub tag (latest SemVer) Project license GitHub stars 68747470733a2f2f696d672e736869656c64732e

A plugin that shows quota information with a pie chart for Roundcube.

Requirements

I only test this plugin with following environments. Other setup may work with luck.

  • PHP: >= 5.4.0

What is Quota plugin?

Quota plugin is used in Roundcube to show used space and free space for given mailbox.

How to install this plugin in Roundcube?

Install via Composer

This plugin has been published on the official Roundcube plugin repository by the name of jfcherng/quota.

  1. Go to your ROUNDCUBE_HOME (i.e., the root directory of your Roundcube).
  2. Run $ composer require jfcherng/quota.
  3. You may edit the config.inc.php under this plugin's directory if you want to do some configurations.

Install manually

  1. Create folder quota in ROUNDCUBE_HOME/plugins if it does not exist.
  2. Copy all plugin files there.
  3. Copy config.inc.php.dist to config.inc.php and edit config.inc.php if you want.
  4. 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
);

How to set mailbox quota in Dovecot?

$ 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

How to set mailbox quota in Postfix?

Feel free to finish this section by submitting a Pull Request.