PostfixAdmin: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
<pre>
<pre>
mysql -u root -p  
mysql -u root -p  
mysql> create database if not exists mails;
mysql> create database if not exists postfix;
mysql> create user 'mailserver'@'%' identified by '<password>';
mysql> create user 'postfix'@'%' identified by '<password>';
mysql> grant usage on *.* to 'mailserver'@'%' identified by '<password>';  
mysql> grant usage on *.* to 'postfix'@'%' identified by '<password>';  
mysql> grant all privileges on mails.* to 'mailserver'@'%';
mysql> grant all privileges on postfix.* to 'postfix'@'%';
mysql> flush privileges;  
mysql> flush privileges;  
mysql> quit;
mysql> quit;

Version vom 2. April 2016, 11:00 Uhr

Installation

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/
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

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