Member-only story
How to configure Postfix to Send Email in Oracle Cloud?
Postfix configuration for Oracle Cloud Email Delivery service.
2 min readNov 14, 2021
Environment
Issue
How to configure Postfix to Send Email in Oracle Cloud Infrastructure via the through the Email Delivery service.
Resolution
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: Generate SMTP Credentials for a user