Postfix (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
sudo apt-get install postfix
sudo apt-get install postfix
</pre>
</pre>
* General type of configuration?
    -> Satellite system
* Where should mail for root go?
    -> Dein Username
* SMTP relay host?
    -> smtp.wasauchimmer.de


<pre>
<pre>

Version vom 5. November 2016, 18:44 Uhr

Zur Konfiguration eines vollständigen Mailservers siehe Mailserver einrichten

Postfix unter Verwendung eines Relay-Hosts

sudo -i
sudo apt-get install postfix


  • General type of configuration?
   -> Satellite system
  • Where should mail for root go?
   -> Dein Username
  • SMTP relay host?
   -> smtp.wasauchimmer.de


postconf -e 'smtp_sasl_auth_enable = yes'
postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd'
postconf -e 'smtp_sasl_security_options ='
echo "mail.kirner.or.at <user>:<password>" > /etc/postfix/sasl/sasl_passwd
chown root:root /etc/postfix/sasl/sasl_passwd
chmod 600 /etc/postfix/sasl/sasl_passwd
postmap /etc/postfix/sasl/sasl_passwd
sudo /etc/init.d/postfix restart


Zurück zu Ubuntu