send mail not work, how to fix it
Linux (machine A) > virtual server (machine B) > real server (machine C)
Whenever I use mail command to send a message to, say someone@otherdomain, I noted the mail command attempts to connect directly to someone@otherdomain. As a result, the message is bounced back because of an unknown user error. My expectation is that the mail should send the message to the virtual server and let the virtual server relay the message to the real server. So how to configure my Linx such that it works as what I have described?
Thank you for help,