Horde (Ubuntu 16.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Links) |
|||
(43 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{note|Noch in Bearbeitung}} | {{note|Noch in Bearbeitung}} | ||
== Installation == | |||
=== Diverses === | |||
<pre> | |||
sudo apt-get install libpam0g-dev libpam-runtime libpam-modules libpam-modules-bin libpam-doc \ | |||
libpam-cracklib libpam0g | |||
</pre> | |||
<pre> | |||
sudo apt-get install libicu-dev | |||
</pre> | |||
=== PHP === | |||
<pre> | |||
sudo apt-get install php-pear php-apcu php7.0-intl php7.0-dev | |||
</pre> | |||
=== PEAR packages === | |||
<pre> | |||
sudo pear install Date | |||
sudo pear install Net_DNS2 | |||
sudo pear install Services_Weather | |||
sudo pear install File_Fstab | |||
sudo pear install Date_Holidays-alpha#all | |||
sudo pear install Net_Sieve | |||
</pre> | |||
=== Webmail === | |||
<pre> | |||
sudo mkdir /var/www/horde | |||
sudo chown -R www-data:www-data /var/www/horde | |||
sudo -u www-data pear config-create /var/www/horde /var/www/horde/pear.conf | |||
sudo -u www-data pear -c /var/www/horde/pear.conf install pear | |||
</pre> | |||
<pre> | |||
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf channel-discover pear.horde.org | |||
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf install horde/horde_role | |||
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf run-scripts horde/horde_role | |||
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf install horde/webmail | |||
</pre> | |||
=== Datenbank erstellen === | |||
<pre> | |||
mysql -u root -p | |||
mysql> CREATE DATABASE hordemail; | |||
mysql> create user 'horde'@'%' identified by '<password>'; | |||
mysql> create user 'horde'@'localhost' identified by '<password>'; | |||
mysql> grant all privileges on hordemail.* to 'horde'@'%'; | |||
mysql> grant all privileges on hordemail.* to 'horde'@'localhost'; | |||
mysql> flush privileges; | |||
mysql> quit; | |||
</pre> | |||
=== Installation abschließen === | |||
<pre> | |||
sudo -u www-data PHP_PEAR_SYSCONF_DIR=/var/www/horde php \ | |||
-d include_path=/var/www/horde/pear/php \ | |||
/var/www/horde/pear/webmail-install | |||
</pre> | |||
=== Links === | |||
[https://www.horde.org/apps/webmail/docs/INSTALL https://www.horde.org/apps/webmail/docs/INSTALL] | |||
[http://pear.horde.org/ http://pear.horde.org/] | |||
== Konfiguration == | |||
Erstellung eines SSL-Zertifikates siehe [[SSL_Zertifikat]] | |||
<pre> | |||
cd /etc/apache2/sites-available/ | |||
sudo vi horde.conf | |||
</pre> | |||
<pre> | |||
<VirtualHost *:80> | |||
ServerName horde.kirner.or.at | |||
Redirect / https://horde.kirner.or.at | |||
</VirtualHost> | |||
</pre> | |||
<pre> | |||
sudo vi horde-ssl.conf | |||
</pre> | |||
<pre> | |||
<VirtualHost *:443> | |||
ServerName horde.kirner.or.at | |||
SSLEngine on | |||
SSLCertificateFile /etc/ssl/certs/horde.crt | |||
SSLCertificateKeyFile /etc/ssl/private/apache.key | |||
# Pfad zu den Webinhalten | |||
DocumentRoot /var/www/horde | |||
KeepAlive On | |||
KeepAliveTimeout 5 | |||
php_value include_path /var/www/horde/pear/php | |||
SetEnv PHP_PEAR_SYSCONF_DIR /var/www/horde | |||
<Directory /var/www/horde/> | |||
Options +FollowSymlinks | |||
AllowOverride All | |||
</Directory> | |||
ErrorLog ${APACHE_LOG_DIR}/horde.kirner.or.at-error.log | |||
CustomLog ${APACHE_LOG_DIR}/horde.kirner.or.at-access.log combined | |||
</VirtualHost> | |||
</pre> | |||
<pre> | |||
sudo a2ensite horde | |||
sudo a2ensite horde-ssl | |||
sudo service apache2 reload | |||
</pre> | |||
== Verwndung == | |||
=== Filter === | |||
==== Links ==== | |||
[https://skrilnetz.net/server-side-mail-filtering-with-horde-ingo-and-sieve/ https://skrilnetz.net/server-side-mail-filtering-with-horde-ingo-and-sieve/] | |||
== Links == | == Links == | ||
[https://www.horde.org/apps/webmail https://www.horde.org/apps/webmail] | |||
[https://wiki.horde.org/ https://wiki.horde.org/] | |||
[https://kyup.com/tutorials/install-horde/ https://kyup.com/tutorials/install-horde/] | [https://kyup.com/tutorials/install-horde/ https://kyup.com/tutorials/install-horde/] |
Aktuelle Version vom 10. März 2018, 15:46 Uhr
Noch in Bearbeitung
Installation
Diverses
sudo apt-get install libpam0g-dev libpam-runtime libpam-modules libpam-modules-bin libpam-doc \ libpam-cracklib libpam0g
sudo apt-get install libicu-dev
PHP
sudo apt-get install php-pear php-apcu php7.0-intl php7.0-dev
PEAR packages
sudo pear install Date sudo pear install Net_DNS2 sudo pear install Services_Weather sudo pear install File_Fstab sudo pear install Date_Holidays-alpha#all sudo pear install Net_Sieve
Webmail
sudo mkdir /var/www/horde sudo chown -R www-data:www-data /var/www/horde sudo -u www-data pear config-create /var/www/horde /var/www/horde/pear.conf sudo -u www-data pear -c /var/www/horde/pear.conf install pear
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf channel-discover pear.horde.org sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf install horde/horde_role sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf run-scripts horde/horde_role sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf install horde/webmail
Datenbank erstellen
mysql -u root -p mysql> CREATE DATABASE hordemail; mysql> create user 'horde'@'%' identified by '<password>'; mysql> create user 'horde'@'localhost' identified by '<password>'; mysql> grant all privileges on hordemail.* to 'horde'@'%'; mysql> grant all privileges on hordemail.* to 'horde'@'localhost'; mysql> flush privileges; mysql> quit;
Installation abschließen
sudo -u www-data PHP_PEAR_SYSCONF_DIR=/var/www/horde php \ -d include_path=/var/www/horde/pear/php \ /var/www/horde/pear/webmail-install
Links
https://www.horde.org/apps/webmail/docs/INSTALL
Konfiguration
Erstellung eines SSL-Zertifikates siehe SSL_Zertifikat
cd /etc/apache2/sites-available/ sudo vi horde.conf
<VirtualHost *:80> ServerName horde.kirner.or.at Redirect / https://horde.kirner.or.at </VirtualHost>
sudo vi horde-ssl.conf
<VirtualHost *:443> ServerName horde.kirner.or.at SSLEngine on SSLCertificateFile /etc/ssl/certs/horde.crt SSLCertificateKeyFile /etc/ssl/private/apache.key # Pfad zu den Webinhalten DocumentRoot /var/www/horde KeepAlive On KeepAliveTimeout 5 php_value include_path /var/www/horde/pear/php SetEnv PHP_PEAR_SYSCONF_DIR /var/www/horde <Directory /var/www/horde/> Options +FollowSymlinks AllowOverride All </Directory> ErrorLog ${APACHE_LOG_DIR}/horde.kirner.or.at-error.log CustomLog ${APACHE_LOG_DIR}/horde.kirner.or.at-access.log combined </VirtualHost>
sudo a2ensite horde sudo a2ensite horde-ssl sudo service apache2 reload
Verwndung
Filter
Links
https://skrilnetz.net/server-side-mail-filtering-with-horde-ingo-and-sieve/
Links
https://www.horde.org/apps/webmail
https://kyup.com/tutorials/install-horde/
Zurück zu Mailserver einrichten