13,420
edits
Changes
→Setup Your MTA to Use Correct Domain
# Look at the email messages you sent between your '''vm2''' and '''vm3''' in your lab 4a. Notice that each is addressed from root on whichever machine sent it.
# On both machines(vm2 and vm3), edit the '''/etc/postfix/main.cf''' file to change the '''myorigin''' parameter from '''$myhostname''' to '''$mydomain'''. Restart the '''postfix''' service.
# Now, send emails messages between both of your vm2 and vm3 machines. The sender address should now read that the received mail messages came from '''root@yourdomain.org'''.