Member-only story

How to configure Postfix to Send Email in Oracle Cloud?

Postfix configuration for Oracle Cloud Email Delivery service.

Luca Berton
2 min readNov 14, 2021
https://unsplash.com/photos/LPZy4da9aRo

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: Generate SMTP Credentials for a user

Video Course

Printed Books

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet