Open main menu

CDOT Wiki β

Changes

OPS335 - Assignment 2

39 bytes removed, 11:15, 29 January 2018
no edit summary
== Purpose ==
In this assignment, you will use the '''335assign virtual network''' and the '''chassis''' cloning-source that you created in assignment 1 (part 1) to create two e-mail servers: a '''Mail Transfer Agent''' called '''jaguar''' and a ''Message Store'' (IMAP) called '''closetbmw'''. You will also use the '''chassis''' cloning source to create a Samba server called '''basement'''. In addition to creating those Linux servers, you will also be required to create a virtual machine for an MS Windows operating system to test-out your Samba server. As you perform and submit this assignment, you '''MUST''' run at least the '''porsche''' Master Name server in order to resolve domain names to IP addresses.
== General Requirements ==
#Any mail sent directly from this machine will use the domain as the sending address (i.e. user@house.neighbourhood.ops)
#You are NOT required to encrypt received email messages.
#This machine will relay received email messages for any user account in the '''luxury.auto.ops''' domain to '''closetbmw.luxury.auto.ops'''.
=== Set-up Mail Delivery Agent / Message Store ('''closetbmw''') ===
Perform the following steps for this section:
#Create a clone virtual machine called '''closetbmw''' from the '''chassis''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
#This machine will use postfix's built-in LDA to store received emails in maildir format in a sub-directory of each users' home directory called mailboxes.
#Any mail sent to root will be automatically delivered into the mailbox of the '''regular user''' created above.
#Configure your Thunderbird application (installed in Lab 4b) to allow the user to send and receive email messages using the '''jaguar''' and '''closetbmw''' servers.
Add MX records to the forward lookup zone on your master DNS server so that all incoming mail addressed to the domain is sent to your IMAP server ('''closetbmw''') first, and the MTA ('''jaguar''') as a fall-back.
=== Set-up a Samba Server ('''basement''')===
=== Network Configuration ===
As you will now have functioning primary and secondary DNS servers, modify your network configuration file for the '''jaguar''', '''closetbmw''', and '''basement''' servers specify the correct IPADDR.
=== Table of Virtual Machines / DNS Records ===
|- style="background-color:white; border: 2px solid black;"
| style="background-color:#66cccc;border: 2px solid black;" | '''closetbmw.luxury.auto.ops'''
| style="background-color:#66cccc;border: 2px solid black;" | '''172.45.20.8'''
| style="background-color:#66cccc;border: 2px solid black;" | '''IMAP''' mail Server
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met:
#Any machine may send smtp traffic to '''jaguar''' and '''closetbmw'''.#Only machines in the local network may send IMAP traffic to '''closetbmw'''.
#Only machines in the local network may access the samba shares on '''basement'''.
::'''Murray Saul's Classes (Sections '''A''' &amp; '''B'''):'''<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that your '''chassis''', '''porsche''', '''jaguar''', '''closetbmw''', '''basement''' and '''client''' virtual machines are running.<li>Issue the command to download a checking script for your assignment to your '''host''' machine: <source>wget http://matrix.senecac.on.ca/~murray.saul/ops335/check-assn2.bash
</source></li><li>Set execute permissions and run the command: '''/root/bin/check-assn2.bash'''<br>(You shell script contents will be mailed to your Seneca email and to your OPS335 instructor's Seneca email. If you do '''NOT''' receive an e-mail message in your Seneca email account, then there is a problem, and you '''MUST''' rerun or contact your OPS335 instructor immediately.<br><br></li></ol>
*'''Additional Assignment Information:'''<ol type="a"><li>This assignment is to be completed individually. '''Group submissions are not allowed'''.</li><li>You are NOT allowed to use local hostname resolution (i.e. no entries in your '''/etc/hosts''' file).<li>Test your machine to make sure it works. If a machine is not accessible (e.g. will not boot, can not be accessed through ssh from your host, etc.), or is otherwise non-functional, you may be told to '''resubmit'''.</li><li>'''Late submissions are a subject to a penalty of 10% per day'''.</li><ol>
|-
|
:::E-mails sent from '''jaguar''' and '''basement''' servers to '''closetbmw''' server (user@IP_ADDR)
| style="text-align:right" | /1
|-
|
:::E-mails sent from '''jaguar''' and '''basement''' servers to '''closetbmw''' server (user@DOMAIN_NAME)
| style="text-align:right" | /1
|-
13,420
edits