Mailserver-Best-Practice: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
 
*systemctl stop  postfix.service
 
*systemctl stop  postfix.service
 
*systemctl status  postfix.service
 
*systemctl status  postfix.service
 +
=Config of Postfix=
 +
*/etc/postfix/master.cf
 +
*/etc/postfix/main.cf

Version vom 7. Februar 2018, 09:20 Uhr

Prepare Maildirs

  • mkdir -p /etc/skel/Maildir/new
  • mkdir -p /etc/skel/Maildir/cur
  • mkdir -p /etc/skel/Maildir/tmp

Install Postfix

  • apt-get install postfix

Postfix Service Handling

  • systemctl start postfix.service
  • systemctl restart postfix.service
  • systemctl stop postfix.service
  • systemctl status postfix.service

Config of Postfix

  • /etc/postfix/master.cf
  • /etc/postfix/main.cf