MacOS - postfix

aus der MacOS Shell E-Mails senden

postfix konfigurieren

sudo bbedit /etc/postfix/main.cf

am Ende einsetzen

relayhost = mail.comodin.com:587
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
smtp_sasl_mechanism_filter = AUTH LOGIN
smtp_sasl_security_options =
smtp_use_tls=yes
smtp_tls_security_level=encrypt

Zugangsdaten angeben

sudo bbedit /etc/postfix/sasl_passwd

einsetzen

mail.comodin.com:587 postfach@comodin.com:password

Rechte anpassen

sudo chown root /etc/postfix/sasl_passwd

lookup table erstellen

sudo postmap /etc/postfix/sasl_passwd

Start postfix

sudo postfix start

(oder) falls postfix schon läuft

sudo postfix reload