Changes

Jump to: navigation, search

OPS335 Lab 4b

13 bytes removed, 17:20, 22 June 2016
m
Only letting vm3 accept mail for domain, so vm2 mail doesn't route back to itself.
The next step is to configure what addrssess the server will receive email for. This is done using postfix by setting the '''mydestination''' parameter (configuration variable) to include '''$mydomain''' (this is assuming you've set up '''mydomain''', '''myorigin''' , and '''inet_interfaces''' properly).
Perform the following steps on both vm2 and vm3:
#Edit the '''/etc/postfix/main.cf''' file.
<pre>mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost</pre>
:'''Note:''' Even though your machine's name is ''vm2vm3.yoursenecaid.org'', your postfix MTA will also receive emails addressed to the domain called: yoursenecaid.org
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.
932
edits

Navigation menu