Why the need to authenticate to Exchange? Why not just send the message anonymously?
smtp send mail fail using postfix in Linux
I try to use postfix smtp service to send email in Linux.
but it return fail message**(Delivery has failed to these recipients or groups:)**
i follow this article to setup my postfix.
http://www.daliycode.com/info-3-201.html
I found my exchange server only support ntlm auth.
so I try to use telnet to auth and send email. but it alos fail.
telnet mail_server_domain 25
EHLO mail_server_domain
AUTH NTLM
base64_my_email
base64_password
535 5.7.3 Authentication unsuccessful
it return "535 5.7.3 Authentication unsuccessful" message.
so anybody know this issue?
2 answers
Sort by: Most helpful
-
-
Kael Yao-MSFT 37,646 Reputation points Microsoft Vendor
2020-12-21T06:01:18.35+00:00 @nang
Hi,Agree with Andy,there is no need to authenticate.
In your case, you may create a dedicated receive connector on your Exchange server and only allow your linux server to relay messages.
You can find the detailed steps in this document: Allow anonymous relay on Exchange serversAs long as you specific the ip addresses or ip address range that are allowed to use the receive connector, your Exchange server won't be used as a open relay.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.