13,420
edits
Changes
→Setup Your MTA to Use Correct Domain
<ol><li value="4">Edit the '''/etc/postfix/main.cf''' file for both machines, xsroll scroll down to the line containing: '''mydestination''' and change line to the text shown below:<br><source>mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost</source>'''Note:''' Even though your machine's name is ''vm3.yoursenecaid.org'', your postfix MTA will also receive emails addressed to the domain called: yoursenecaid.org</li></ol>
<br>
::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.