Postfix Configuration As Relay For Office365 to Solve The Error "Client Was Not Authenticated To Send Anonymous Mail During MAIL FROM"
(Doc ID 2013640.1)
Last updated on FEBRUARY 01, 2019
Applies to:Linux OS - Version Oracle Linux 6.5 with Unbreakable Enterprise Kernel [3.8.13] and later
Oracle Cloud Infrastructure - Version N/A and later
- Oracle Linux 6.5 with Unbreakable Enterprise Kernel [3.8.13] version, working as a mail server has a requirement to send unauthenticated mail. However the customer is using Office365 and this uses authentication (TLS and user/password).
- To try to overcome this, the customre is using postfix as a relay for Office365.
- Postfix has been configured but does not seem to be able to successfully change the 'FROM' identity, and the customer is receiving the following error with the mail not being delivered.
status=bounced (host <DOMAIN NAME>.com<IP ADDR> said: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM command))
The Postfix relay for Office365 ends with the error "Client was not authenticated to send anonymous mail during MAIL FROM"
Postfix used as a Relay for Office365
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document