Plugins Roundcube: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 133: | Zeile 133: | ||
$config['password_minimum_length'] = 4; | $config['password_minimum_length'] = 4; | ||
$config['password_force_save'] = true; | $config['password_force_save'] = true; | ||
$config['password_db_dsn'] = 'mysql://dovecot: | $config['password_db_dsn'] = 'mysql://dovecot:<password>@10.0.0.120/mails'; | ||
$config['password_query'] = 'UPDATE users SET password = %c WHERE username = %u LIMIT 1'; | $config['password_query'] = 'UPDATE users SET password = %c WHERE username = %u LIMIT 1'; | ||
$config['password_crypt_hash'] = 'sha512'; | $config['password_crypt_hash'] = 'sha512'; |
Version vom 2. April 2016, 18:31 Uhr
Voraussetzungen
Composer installieren
sudo apt-get install curl curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer
Plugin-Installer installieren
wget https://github.com/roundcube/plugin-installer/archive/master.zip unzip master.zip sudo mv plugin-installer-master/ /var/www/roundcube/plugin-installer/ sudo chown -R www-data:www-data /var/www/roundcube/plugin-installer/
SieveRules
sudo apt-get install git curl php5-cli php5-curl sudo pear install Net_SIEVE
Installation
git clone https://github.com/JohnDoh/Roundcube-Plugin-SieveRules-Managesieve.git sudo mv Roundcube-Plugin-SieveRules-Managesieve/ /var/www/roundcube/plugins/sieverules/ cd /var/www/roundcube/plugins/ sudo chown -R www-data:www-data sieverules/ cd sieverules/ sudo -u www-data cp config.inc.php.dist config.inc.php
Carddav
sudo apt-get install git curl php5-cli php5-curl
Installation
git clone https://github.com/blind-coder/rcmcarddav sudo mv rcmcarddav/ /var/www/roundcube/plugins/carddav/ cd /var/www/roundcube/plugins/carddav/
sudo composer install
sudo chown -R www-data:www-data /var/www/roundcube/plugins/carddav/ sudo -u www-data cp config.inc.php.dist config.inc.php
Links
http://www.benjamin-schieder.de/carddav.html
Calendar
Installation
cd /var/www/roundcube/plugins/ sudo git clone https://gitlab.com/kolab-roundcube-plugins/libcalendaring.git sudo chown -R www-data:www-data libcalendaring git clone https://gitlab.com/kolab-roundcube-plugins/calendar.git sudo chown -R www-data:www-data calendar cd calendar sudo -u www-data cp config.inc.php.dist config.inc.php mysql -u roundcube -p roundcubemail < drivers/database/SQL/mysql.initial.sql
Plugin in /var/www/roundcube/config/config.inc.php aktivieren:
$config['plugins'] = array( (...) 'calendar', );
Kolab
Installation
cd /var/www/roundcube/plugins/ sudo git clone https://gitlab.awesome-it.de/kolab/roundcube-plugins.git plugins-caldav
Links
https://github.com/babelmcs/kolab-roundcube-plugins
Problemlösungen
PEAR repository from http://pear.php.net could not be loaded.
Um dieses Problem zu lösen, muss in der Datei composer.json folgendes hinzugefügt werden:
..., "config":{ "secure-http" : false }
The lock file is not up to date with the latest changes in composer.json.
sudo php composer.phar update --lock
bzw. wenn der Composer unter /usr/local/bin/composer installiert wurde:
sudo composer update --lock
Password
Konfiguration funktioniert aktuell noch nicht - keine Fehlermeldung in den Log-Files
cd /var/www/roundcube/plugins/password/ sudo -u www-data config.inc.php.dist config.inc.php
$config['password_minimum_length'] = 4; $config['password_force_save'] = true; $config['password_db_dsn'] = 'mysql://dovecot:<password>@10.0.0.120/mails'; $config['password_query'] = 'UPDATE users SET password = %c WHERE username = %u LIMIT 1'; $config['password_crypt_hash'] = 'sha512';
Links
https://plugins.roundcube.net/
https://getcomposer.org/doc/03-cli.md
Zurück zu Mailserver einrichten