Friday, February 20, 2026

Configure postfix for sending email via an external SMTP relay server

https://dohost.us/index.php/2025/07/27/configuring-postfix-to-send-outgoing-mail-relay-hosts-and-smart-hosts/

apt-get install libsasl2-modules

is needed for the authentication

smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous