You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

postfix and oci smtp server

in Linux 8 comments

Hi, I've an Oracle Linux vm, version 7.9 and Postfix  2.10.1

I'm trying to use postfix as a relay server, and I've used oci smtp credentials of a dedicated oci user to send emails.

I then tried to send a test mail like this:

echo "Test email using postfix" | mail -s "Relay test with smtp authentication" mxxxxxxxxx@myrealdomain.it

But in the postfix log I see:

relay=smtp.email.eu-milan-1.oci.oraclecloud.com[129.149.113.244]:587, .... , dsn=5.0.0, status=bounced (host smtp.email.eu-milan-1.oci.oraclecloud.com[129.149.113.244] said: 535 Authorization failed: Envelope From address <scan@myrealdomain.it> not authorized (in reply to MAIL FROM command))

What's wrong?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!