jfcherng-roundcube/quota 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jfcherng-roundcube/quota

最新稳定版本:0.0.21

Composer 安装命令:

composer require jfcherng-roundcube/quota

包简介

A plugin that shows quota information for Roundcube.

README 文档

README

GitHub Workflow Status (branch) Packagist Packagist Version Project license GitHub stars Donate to this project using Paypal

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.

demo

How to install this plugin in Roundcube

Install via Composer

This plugin has been published on Packagist by the name of jfcherng-roundcube/quota.

  1. Go to your ROUNDCUBE_HOME (i.e., the root directory of your Roundcube).
  2. Run composer require jfcherng-roundcube/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

You may also refer to the official document of Dovecot's quota plugin: https://wiki.dovecot.org/Quota/Configuration

How to set mailbox quota in Postfix

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

统计信息

  • 总下载量: 2.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-23