gianlucagiacometti / forward
让您管理 Postfix Admin 转发
Requires
- php: >=5.3.0
- roundcube/plugin-installer: >=0.1.3
This package is auto-updated.
Last update: 2022-12-05 00:30:54 UTC
README
注意
开发已停止!
所有功能现在已集成到新的插件 roundcube-toolbox
作者
Gianluca Giacometti (php@gianlucagiacometti.it)
贡献者
Sebastien Blaisot (https://github.com/sblaisot) Jan B. Fiedler (https://github.com/zuloo) Ray Deng (https://github.com/iBL1nK/) Sebastian L (https://github.com/brknkfr)
版本
1.4.0
发布日期
27-04-2020
安装
需求
- jQuery UI。
要安装此插件,请将所有文件复制到 /plugin/forward 文件夹,并在 config/config.inc.php 中将其添加到插件数组
// 激活插件列表(在 plugins/ 目录中) $rcmail_config['plugins'] = array('forward');
注意:如果您安装了多个插件,请将它们添加到数组中,例如
// 激活插件列表(在 plugins/ 目录中) $rcmail_config['plugins'] = array('forward, PLUGIN2, PLUGIN3');
配置
编辑插件配置文件 'config.inc.php' 并选择适当的选项
$rcmail_config['forward_driver'] = 'sql';
so far only sql is available
$rcmail_config['forward_sql_dsn'] = value;
example value: 'pgsql://username:password@host/database'
example value: 'mysql://username:password@host/database'
$rcmail_config['forward_sql_write'] = query;
the query depends upon your postfixadmin database structure
placeholders %goto and %address must be kept unchanged
default query: 'UPDATE alias SET goto = %goto, modified = %modified WHERE address = %address'
example query: 'UPDATE alias SET forwardto = %goto, modified = %modified WHERE address = %address'
example query: 'UPDATE aliases SET forwardto = %goto, modified = %modified WHERE address = %address'
$rcmail_config['forward_sql_read'] = query;
the query depends upon your postfixadmin database structure
placeholder %address must be kept unchanged
default query: 'SELECT * FROM alias WHERE address = %address'
example query: 'SELECT * FROM aliases WHERE address = %address'
许可
在 GNU GPL2 许可证下授权。
注意
代码基于 Boris HUISGEN 等人的 Vacation 插件 (rc-vacation) (https://github.com/bhuisgen/rc-vacation)。感谢 Boris 及其他人。