From 324dc2231b2ec6224d341dce4b810c1167087703 Mon Sep 17 00:00:00 2001 From: Johan Date: Thu, 2 Jul 2020 17:49:24 +0200 Subject: [PATCH] Update third_party-roundcube.md: managesieve The current doc gives "cannot connect to db" in Roundcube 1.4.6, managesieve. The config should be placed in the plugin itself and not in the general config file of Roundcube. --- docs/third_party-roundcube.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/third_party-roundcube.md b/docs/third_party-roundcube.md index 091583d59..910fe1ae9 100644 --- a/docs/third_party-roundcube.md +++ b/docs/third_party-roundcube.md @@ -44,7 +44,18 @@ $config['enable_installer'] = true; $config['smtp_conn_options'] = array( 'ssl' => array('verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true) ); +$config['db_prefix'] = 'mailcow_rc1'; +``` +Point your browser to `https://myserver/rc/installer` and follow the instructions. +Initialize the database and leave the installer. + +**Delete the directory `data/web/rc/installer` after a successful installation!** + +### Configure ManageSieve filtering + +Open `data/web/rc/plugins/managesieve/config.inc.php` and change the following parameters (or add them at the bottom of that file): +``` $config['managesieve_port'] = 4190; $config['managesieve_host'] = 'tls://dovecot'; $config['managesieve_conn_options'] = array( @@ -55,15 +66,8 @@ $config['managesieve_conn_options'] = array( // 1 - add Vacation section, // 2 - add Vacation section, but hide Filters section $config['managesieve_vacation'] = 1; -$config['db_prefix'] = 'mailcow_rc1'; - ``` -Point your browser to `https://myserver/rc/installer` and follow the instructions. -Initialize the database and leave the installer. - -**Delete the directory `data/web/rc/installer` after a successful installation!** - ### Enable change password function in Roundcube Open `data/web/rc/config/config.inc.php` and enable the password plugin: