Changes

Jump to: navigation, search

OPS335 Lab 4

24 bytes removed, 15:19, 10 February 2016
no edit summary
#Check the status of the '''sendmail''' service by using the '''systemctl''' command. If the sendmail service is running, use the ''systemctl'' command to stop and disable that service.
#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.<br><br>'''NOTE:''' #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><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>
13,420
edits

Navigation menu