postfix and oci smtp server
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?
Tagged:
0