Plugins Roundcube: Unterschied zwischen den Versionen
(41 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== Voraussetzungen == | == Voraussetzungen == | ||
=== Composer installieren === | |||
<pre> | |||
sudo apt-get install curl | |||
curl -sS https://getcomposer.org/installer | php | |||
sudo mv composer.phar /usr/local/bin/composer | |||
</pre> | |||
=== Plugin-Installer installieren / Composer === | |||
Plugin zu ''composer.json'' hinzufügen, danach updaten: | |||
<pre> | |||
composer update --no-dev | |||
</pre> | |||
=== Plugin-Installer installieren / Manuell === | |||
<pre> | |||
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/ | |||
</pre> | |||
== SieveRules == | |||
<pre> | <pre> | ||
cd /var/www/roundcube/ | sudo apt-get install git curl php5-cli php5-curl | ||
sudo | sudo pear install Net_SIEVE | ||
</pre> | |||
=== Installation === | |||
<pre> | |||
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 | |||
</pre> | </pre> | ||
Zeile 11: | Zeile 45: | ||
<pre> | <pre> | ||
sudo apt-get install curl php5-cli | sudo apt-get install git curl php5-cli php5-curl | ||
</pre> | </pre> | ||
Zeile 19: | Zeile 53: | ||
git clone https://github.com/blind-coder/rcmcarddav | git clone https://github.com/blind-coder/rcmcarddav | ||
sudo mv rcmcarddav/ /var/www/roundcube/plugins/carddav/ | sudo mv rcmcarddav/ /var/www/roundcube/plugins/carddav/ | ||
cd /var/www/roundcube/plugins/carddav/ | cd /var/www/roundcube/plugins/carddav/ | ||
</pre> | </pre> | ||
<pre> | |||
sudo composer install | |||
</pre> | |||
<pre> | <pre> | ||
/ | sudo chown -R www-data:www-data /var/www/roundcube/plugins/carddav/ | ||
sudo -u www-data cp config.inc.php.dist config.inc.php | |||
</pre> | </pre> | ||
=== Links === | === Links === | ||
[http://www.benjamin-schieder.de/carddav.html http://www.benjamin-schieder.de/carddav.html] | [http://www.benjamin-schieder.de/carddav.html http://www.benjamin-schieder.de/carddav.html] | ||
== Calendar == | |||
{{note|Funktioniert aktuell noch nicht - Kalender schon, aber danach der Rest nicht mehr}} | |||
=== Installation === | |||
<pre> | |||
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 | |||
</pre> | |||
Plugin in ''/var/www/roundcube/config/config.inc.php'' aktivieren: | |||
<pre> | |||
$config['plugins'] = array( | |||
(...) | |||
'calendar', | |||
); | |||
</pre> | |||
== Kolab == | |||
=== Installation === | |||
<pre> | |||
cd /var/www/roundcube/plugins/ | |||
sudo git clone https://gitlab.awesome-it.de/kolab/roundcube-plugins.git plugins-caldav | |||
</pre> | |||
=== Links === | |||
[https://github.com/babelmcs/kolab-roundcube-plugins https://github.com/babelmcs/kolab-roundcube-plugins] | |||
== Arodier == | |||
=== Installation === | |||
=== Links === | |||
[https://github.com/arodier/Roundcube-Plugins https://github.com/arodier/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: | |||
<pre> | |||
..., | |||
"config":{ | |||
"secure-http" : false | |||
} | |||
</pre> | |||
=== ''The lock file is not up to date with the latest changes in composer.json.'' === | |||
<pre> | |||
sudo php composer.phar update --lock | |||
</pre> | |||
bzw. wenn der Composer unter ''/usr/local/bin/composer'' installiert wurde: | |||
<pre> | |||
sudo composer update --lock | |||
</pre> | |||
== Password == | |||
{{note|Konfiguration funktioniert aktuell noch nicht - keine Fehlermeldung in den Log-Files}} | |||
<pre> | |||
cd /var/www/roundcube/plugins/password/ | |||
sudo -u www-data config.inc.php.dist config.inc.php | |||
</pre> | |||
<pre> | |||
$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'; | |||
</pre> | |||
== Links == | == Links == | ||
https://plugins.roundcube.net/ | [https://plugins.roundcube.net/ https://plugins.roundcube.net/] | ||
[https://getcomposer.org/doc/03-cli.md https://getcomposer.org/doc/03-cli.md] | |||
[https://juliankessel.de/2013/07/17/setting-up-sieve-vacation-with-roundcube-and-dovecot/ https://juliankessel.de/2013/07/17/setting-up-sieve-vacation-with-roundcube-and-dovecot/] | |||
Zurück zu [[Mailserver einrichten]] | Zurück zu [[Mailserver einrichten]] |
Aktuelle Version vom 9. Juli 2016, 16:51 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 / Composer
Plugin zu composer.json hinzufügen, danach updaten:
composer update --no-dev
Plugin-Installer installieren / Manuell
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
Funktioniert aktuell noch nicht - Kalender schon, aber danach der Rest nicht mehr
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
Arodier
Installation
Links
https://github.com/arodier/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
https://juliankessel.de/2013/07/17/setting-up-sieve-vacation-with-roundcube-and-dovecot/
Zurück zu Mailserver einrichten