Changes

Jump to: navigation, search

OPS335 Lab 4b

2 bytes added, 14:21, 2 March 2017
Setup Your MTA to Use Correct Domain
<ol><li value="4">Edit the '''/etc/postfix/main.cf''' file.</li><li>Scroll down to the line containing: '''mydestination''' and change line to the text shown below:<br><source>mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost</source><br><br>'''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>
::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>
13,420
edits

Navigation menu