Setup Postfix on Ubuntu 20.04 Localhost and Use Sendinblue/Brevo SMTP

Ref: https://www.linuxbabe.com/mail-server/postfix-smtp-relay-ubuntu-sendinblue
https://oastic.com/posts/configure-postfix-to-send-email-using-sendinblue-as-smtp-server/

Setup Postfix on Ubuntu 16.04 Localhost and Use Gmail SMTP

Create the Brevo account (https://www.sendinblue.com/)
choose the free plan

FOLLOW THE SETUP IN THE ABOVE REFS
ONLY THE WORKING SETTING FOR ME (localhost) IN /etc/postfix/main.cf

AND THE SETTING SMTP FOR /etc/postfix/sasl_passwd you can find IN https://app.brevo.com/settings/keys/smtp LIKE

NOW:
[smtp-relay.brevo.com]:587 smtp_username:smtp_password

SORRY, ONLY ADMIN CAN SHOW THIS!

NOW:

SORRY, ONLY ADMIN CAN SHOW THIS!

TLS = Port 587

THEN TEST

CHECK IN sudo tail /var/log/mail.log
THE WORKING SMTP WOULD BE LIKE THIS

 

Leave a Reply

Your email address will not be published. Required fields are marked *