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:
<myemail@mydomain>: host 192.168.0.3[192.168.0.3] said: 501 5.1.7 Invalid address(in reply to MAIL FROM command)
If I look in the root mail account on ubuntu, i see the following:
Final-Recipient: rfc822; <firstname.lastname@example.org> Action: failed Status: 5.1.7 Remote-MTA: dns; 192.168.0.3 Diagnostic-Code: smtp; 501 5.1.7 Invalid Address . . . . To: email@example.com 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?