I've set up the receive connector in exchange to only allow access from the VM for SMTP, so that nothing else can directly access exchange. I have no issues receiving email from anywhere on the internet, but if I try to send email from the ubuntu vm (logs, etc), Exchange seems to bounce or reject the message, with the following showing in the logs:
If I look in the root mail account on ubuntu, i see the following:
Final-Recipient: rfc822; <email@example.com> Action: failed Status: 5.1.7 Remote-MTA: dns; 192.168.0.3 Diagnostic-Code: smtp; 501 5.1.7 Invalid Address . . . . To: firstname.lastname@example.org From: root Subject: Logwatch for ubuntu (Linux)
I already enabled anonymous users to access the receiver connector, so why is exchange rejecting mail from the root user?