PostfixAdmin: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 21: | Zeile 21: | ||
== Konfiguration == | == Konfiguration == | ||
=== Apache2 === | |||
<pre> | |||
sudo touch /etc/apache2/conf-available/postfixadmin.conf | |||
</pre> | |||
<pre> | |||
Alias /postfixadmin "/var/www/postfixadmin/" | |||
<Directory "/var/www/postfixadmin"> | |||
Options +FollowSymLinks | |||
AllowOverride All | |||
<IfModule mod_dav.c> | |||
Dav off | |||
</IfModule> | |||
SetEnv HOME /var/www/postfixadmin | |||
SetEnv HTTP_HOME /var/www/postfixadmin | |||
</Directory> | |||
</pre> | |||
<pre> | |||
sudo a2enconf postfixadmin | |||
sudo service apache2 restart | |||
</pre> | |||
== Links == | == Links == |
Version vom 2. April 2016, 10:43 Uhr
Installation
postfixadmin herunterladen:
wget https://sourceforge.net/projects/postfixadmin/files/postfixadmin/postfixadmin-2.93/postfixadmin-2.93.tar.gz tar -xzf postfixadmin-2.93.tar.gz sudo mv postfixadmin-2.93 /var/www/postfixadmin/ sudo chown -R www-data:www-data /var/www/postfixadmin/
Datenbank anlegen:
mysql -u root -p mysql> create database if not exists postfix; mysql> create user 'postfix'@'%' identified by '<password>'; mysql> grant usage on *.* to 'postfix'@'%' identified by '<password>'; mysql> grant all privileges on postfix.* to 'postfix'@'%'; mysql> flush privileges; mysql> quit;
Konfiguration
Apache2
sudo touch /etc/apache2/conf-available/postfixadmin.conf
Alias /postfixadmin "/var/www/postfixadmin/" <Directory "/var/www/postfixadmin"> Options +FollowSymLinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/postfixadmin SetEnv HTTP_HOME /var/www/postfixadmin </Directory>
sudo a2enconf postfixadmin sudo service apache2 restart
Links
https://blog.unterhaltungsbox.com/mailserver-mit-postfix-dovecot-postfixadmin-und-mysql/
https://www.nesono.com/book/export/html/224
http://www.bunzel.net/2012/07/30/postfixadmin-aufsetzen/
Zurück zu Mailserver einrichten