Postfix (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 12: | Zeile 12: | ||
<pre> | <pre> | ||
postconf -e 'smtp_sasl_auth_enable = yes' | postconf -e 'smtp_sasl_auth_enable = yes' | ||
postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd' | postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd' | ||
Zeile 26: | Zeile 25: | ||
<pre> | <pre> | ||
/etc/init.d/postfix restart | sudo /etc/init.d/postfix restart | ||
</pre> | </pre> | ||
Zurück zu [[Ubuntu]] | Zurück zu [[Ubuntu]] |
Version vom 5. November 2016, 18:41 Uhr
Zur Konfiguration eines vollständigen Mailservers siehe Mailserver einrichten
Postfix unter Verwendung eines Relay-Hosts
sudo -i
sudo apt-get install postfix
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