Postfix integration
Postfix configuration with Brevo SMTP
- For Postfix, set up SASL authentication. Open the
/etc/postfix/sasl_passwdfile in the local postfix directory and add your SMTP credentials.
- Run
sudo postmap /etc/postfix/sasl_passwdto update the credentials insasl_passwd. For the username, use the master password from your Brevo account, available in the SMTP and API menu in the top-right. Next, update themain.cffile in Postfix.
If the relay does not allow IPv6 connections, set inet_protocols to IPv4 in the main.conf file.
- Restart Postfix with
sudo service postfix restartand send a test email with the command below.
Note: if you encounter errors, check mailq or the Postfix log file. An authentication error means you entered incorrect credentials, or the changes to the sasl_passwd file were not saved.