Changes

Jump to: navigation, search

OPS335 Lab 4b

147 bytes added, 14:15, 2 March 2017
Setup Your MTA to Use Correct Domain
In Lab 4a, both of your email servers were sending mail messages addressed from users of the actual machines themselves. This would be confusing for the receiver who might get emails from the same user @vm1, vm2, and vm3. Which would they respond to? To avoid this problem from occurring, we can make all servers make the sent mail appear to come from a central location (usually the '''domain'''), and make incoming email sent to that address to be accessible from machines within our network.
Look at '''Perform the email messages you sent between your vm2 and vm3 in lab 4a. Notice that each is addressed from root on whichever machine sent it.following steps:'''
# Look at the email messages you sent between your vm2 and vm3 in lab 4a. Notice that each is addressed from root on whichever machine sent it.# On both machines, edit the '''/etc/postfix/main.cf and ''' file to change the '''myorigin''' parameter from '''$myhostname''' to '''$mydomain'''. Restart the '''postfix and ''' service.# Now, send emails messages between the both of your vm2 and vm3 machines again. The sender address should now read that the received mail messages came from '''root@yourdomain.org'''.
=== Specifying Which Domains are Used to Deliver the "Received" Mail Messages===
13,420
edits

Navigation menu