sagredo-dev / qmailforward
Adds the ability for qmail users to edit their forward from within Roundcube.
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Type:roundcube-plugin
Requires
- php: >=8.0
- roundcube/plugin-installer: >=0.1.2
This package is not auto-updated.
Last update: 2024-04-15 17:26:11 UTC
README
This plugin adds the ability for qmail
users to edit their forward from within
Roundcube
with no need to ask their administrators for doing that via qmailadmin
.
qmailforwards
saves the forwards to MySQL database.
Unlike the managesieve
plugin, from which this plugin is inspired but which only
apparently behaves in the same way, it does not use the sieve rules but it saves
the forwards on the database, also preserving the possibility of saving a record that enables the copy of messages on the mailbox. In this case the execution of the favorite delivery agent is launched, which can also be set from the configuration file.
Using this method instead of sieve rules allows qmail
users to keep the SPF policies in effect.
Inspiration and part of the code for this plugin was taken from the sieverules
and managesieve
plugins. The latter one provides an identical html form.
Requirements
vpopmail
version 5.6.xvpopmail
configured with virtual aliases--enable-valias
and patched to modify the colums according to the already mentioned patch.- you may want to upgrade
qmailadmin
as well
Install
- Place this plugin folder into the plugins directory of
Roundcube
- Add
qmailforward
to$config['plugins']
in yourRoundcube
config - If you are switching to valiases the table will be created for you at first access. If you already have the valias table but it's still empty, just erase it and let vpopmail create it for you.
- If your valias table already exist and it contains records that you don't
want to loose, then execute the following query. Drop any
PRIMARY KEY
if you already have one.
USE vpopmail; ALTER TABLE `valias` ADD `valias_type` TINYINT(1) NOT NULL DEFAULT '1' COMMENT '1=forwarder 0=lda' FIRST; ALTER TABLE `valias` ADD `copy` TINYINT(1) NOT NULL DEFAULT '0' COMMENT '0=redirect 1=copy&redirect' AFTER `valias_line`; ALTER TABLE `valias` ADD PRIMARY KEY (`valias_type`, `alias`, `domain`);
Configuration
- The default config file is plugins/qmailforward/config.inc.php.dist
- Copy the options you have to modify to plugins/qmailforward/config.inc.php
- You must set at least the database connection string
Supported languages
- en_US - English (US)
- en_GB - English (GB)
- it_IT - Italian
- ru_RU - Russian
Send new translations to the e-mail below.
Author
Roberto Puzzanghera [roberto dot puzzanghera at sagredo dot eu https://notes.sagredo.eu]
License
This plugin is released under the GNU General Public License Version 3+.
Support
To ask for support post a comment in my blog