Changes

Jump to: navigation, search

OPS335 Lab 4

12 bytes removed, 16:21, 10 February 2016
no edit summary
#Issue the following command to install the '''Postfix''' application (MTA):<br><br>'''yum install postfix'''<br><br>
#What is the purpose of installing the postfix application in terms of using e-mail? Record your answer in your lab logbook.
#We need to <u>configure</u> the postfix application (i.e. our MTA) to recognize our recently-created domain name that we setup in lab3.<br>Edit the Postfix configuration file: '''/etc/postfix/main.cf''' and edit this file to contain only the contents displayed below:<br><br>'''mydomain = senecaID.org'''<br>'''myorigin = $mydomain'''<br>'''mynetworks = 127.0.0.0/8, 192.168.X.0/24'''<br>'''relay_domains ='''<br>'''inet_interfaces=all'''<br><br>'''NOTE:''' #Your MTA has the ability to resolve "fake" public address to an actual user account name. For example, if you have a user account called "msaul", you can have the MTA resolve the fake name "murray.saul" to the account name "msaul".<br>In order to do this you need to create an alias which is contained in the MTA's alias file.<br><br>#Edit the '''/etc/postfix/aliases''' file and add your first name as an alias to be resolved to your VM2's account name:<br><br>'''your-first-name''' &nbsp; &nbsp; &nbsp; '''your-vm2-regular-username'''<br><br>
#In order to update the MTA's database for the newly-create alias, issue the following command:<br>'''postalias hash:/etc/aliases'''<br><br>
#Finally, to start and enable your MTA, issue the following commands:<br><br>'''systemctl start postfix.service'''<br>'''systemctl enable postfix.service'''<br><br>
13,420
edits

Navigation menu