I am using linux "mail" client. When I try to send an email echo "test" | mail -s "testing" myemail@personal.com I receive a 550 error bounce back because the domain is invalid.
On the server there are 2 domains. One is public the other is strictly internal. How do I force only the mail client to use the public domain?
Here is the failure message.
Final-Recipient: RFC822; myemail@personal.com
Action: failed
Status: 5.1.8
Diagnostic-Code: SMTP; 550 5.1.8 Invalid domain: server_hostname.internal.domainname
Last-Attempt-Date: Wed, 12 Feb 2014 12:22:06 -0500