Symptom:
We plan to use mailx in Oracle Linux 7.6 VM to send emails via smtp services provided by OCI Email Delivery ServiceWe followed the instructions of the official doc and get smtp credential and smtp connections setup
When we run this command:
echo "test test from henry" | mailx -v -s "test test test" \
-S nss-config-dir=/etc/certs \
-S smtp-use-starttls \
-S smtp-auth=login \
-S smtp=smtp.us-ashburn-1.oraclecloud.com \
-S from="no-reply@test.com(henryxie)" \
-S smtp-auth-user="<ocid from smtp credentials doc >" \
-S smtp-auth-password="<password from smtp credentials doc >" henry.xie@oracle.com
We get error
smtp-server: 504 The requested authentication mechanism is not supported
Solution:
Change smtp-auth=login --> smtp-auth=plainLater OCI email delivery will support smtp-auth=login
2 comments:
You have shared a nice article here about the OCI Email Delivery smtp-server. Your article is very informative and I am impressed by the details that you have shared in this post. Thanks for sharing this article here. Bulk Email Server Provider
I am facing this error after making the change in login to plain
Authorization failed: Envelope From address is not authorized
Post a Comment