Luca's Blog

Environment

Oracle Cloud Infrastructure

Issue

How to configure Postfix to Send Email in Oracle Cloud Infrastructure via the through the Email Delivery service.

Resolution

  1. Integrating Postfix with Email Delivery

For SMTP server follow the guide:

SMTP Authentication and Connection Endpoints

For example: Germany Central (Frankfurt): smtp.email.eu-frankfurt-1.oci.oraclecloud.com

  • /etc/postfix/main.cf
relayhost = smtp.email.eu-frankfurt-1.oci.oraclecloud.com:587
  • /etc/postfix/sasl_passwd
smtp.email.eu-frankfurt-1.oci.oraclecloud.com:587 user:pass

For user:pass follow the guide:

  1. Generate SMTP Credentials for a user