gianlucagiacometti/roundcube-toolbox

Roundcube 网页邮件工具集

安装: 419

依赖项: 0

建议者: 0

安全: 0

星标: 15

关注者: 3

分支: 10

开放问题: 5

类型:roundcube-plugin

1.6.0 2023-01-01 16:52 UTC

This package is auto-updated.

Last update: 2024-09-13 01:28:04 UTC


README

此插件是一套为 Roundcube Webmail 设计的工具
一些工具旨在与 PostfixAdmin / Postfix with sql backend 一起使用

注意

此插件与 RC 1.6 兼容。

插件 1.6.0 版本与 Roundcube Webmail 1.6 兼容

主分支与 Roundcube Webmail 的 Git 版本兼容

可用工具

  • aliases [用于管理 postfixadmin 中别名的小工具]
  • forward [用于管理 postfixadmin 中转发地址的小工具]
  • vacation [用于管理 postfixadmin 假期的小工具]
  • purge [用于定期清理垃圾邮件文件夹的小工具]
  • preview [用于禁用邮件预览的小工具]
  • customise [用于定制空白页和 CSS 的域名的小工具]
  • attachments [用于将大型附件替换为 outgoing 消息中的链接的小工具]

需求

许可

此插件在 GNU General Public License Version 3+ 下发布,除皮肤外,皮肤受 Creative Commons Attribution-ShareAlike License 的约束。

安装

  • 将此插件文件夹放入 Roundcube 的插件目录
  • 将文件夹名称更改为 'toolbox'
  • 将 'toolbox' 添加到您的 Roundcube 配置文件中的 $config['plugins']

注意:从 GitHub 下载插件时,您需要创建一个名为 toolbox 的目录,并将文件放在其中,忽略下载的存档中的根目录。

使用 SQL 文件夹中的适当文件更新数据库。

自定义工具需要名为 'tmp' 的文件夹,该文件夹可由网络浏览器写入。
附件工具需要名为 'attachments' 的文件夹,该文件夹可由网络浏览器写入。
/bin/initplugin.sh 文件可以为您完成这项工作。

配置

默认配置文件是 plugins/toolbox/config.inc.php.dist
将 'config.inc.php.dist' 复制到 'config.inc.php'
编辑插件配置文件 'config.inc.php' 并选择适当的选项

$rcmail_config['toolbox_dsn']
设置到数据源的连接
示例

$rcmail_config['toolbox_dsn'] = 'pgsql://username:password@localhost/database';
$rcmail_config['toolbox_dsn'] = 'mysql://username:password@host/database';

$config['toolbox_sql_table_name']
设置 sql 表的名称
默认值

$config['toolbox_sql_table_name'] = 'toolbox';

$config['toolbox_sql_username_field']
设置 toolbox sql 表中用户字段名称
默认值

$config['toolbox_sql_username_field'] = 'username';