13,420
edits
Changes
no edit summary
#Issue the following command to install the '''postfix''' application (MTA):<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 our MTA (postfix application (i.e. our MTA) to recognize our recently-created domain name that we setup was created 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>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". 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''' '''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>