13,420
edits
Changes
→Setup Your MTA to Use Correct Domain
::In order for this to work, we need to add a DNS record that will point mail sent to the domain towards one of the SMTP servers configured to accept it.
<ol><li value="6">Add an '''MX ''' record to the forward lookup zone on vm1 so that all incoming mail addressed to the domain is sent to your vm3.</li><li>Restart the service and use the '''dig''' command to confirm that it works.</li><li>Send an email from your vm2 to root@yourdomain.org.</li><li>Confirm that it arrives on vm3.</li></ol>
=== Relaying Email Through Another Server===