Difference between revisions of "OPS535 A2 201603"

From CDOT Wiki
Jump to: navigation, search
m (Updating for Fall 2018)
m (Due Dates: - fixing for Winter 2019)
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
= Due Dates =
 
= Due Dates =
 
* This assignment worth 15%  of your final grade.
 
* This assignment worth 15%  of your final grade.
* Due Date for documentationAugust 10, 2018
+
* Due Date:  April 3rd, 2019
* Important: You must be in the Lab on August 9, 2018 to present your systems in order to have your assignment marked unless it is for medical reason.
+
* Important: You must be in the Lab on April 3rd, 2019 to present your systems in order to have your assignment marked unless it is for medical reason.
  
 
=Specification=
 
=Specification=
Line 9: Line 9:
 
Setup an Internet email system for your assigned DNS Domain using the Virtual Machines in your Virtual Network. Your Internet email system must provide the following functions at the minimum:
 
Setup an Internet email system for your assigned DNS Domain using the Virtual Machines in your Virtual Network. Your Internet email system must provide the following functions at the minimum:
  
* A SMTP email server that is capable of receiving and sending emails for users in your domain.
+
* A SMTP email server (running postfix) that is capable of receiving and sending emails for users in your domain.
** Users in your domain must be able to send emails to users in the same domain and users in other students' domain in the class.
+
** Users in your domain must be able to send emails to users in the same domain and users in other students' domains in the class.
 
** Users in your domain must be able to receive emails from other email users (both in your domain or from other domains).
 
** Users in your domain must be able to receive emails from other email users (both in your domain or from other domains).
* An IMAP Access Agent allowing users in your domain to remotely access their mail.
+
* An IMAP Access Agent (running dovecot) allowing users in your domain to remotely access their mail.
 
** Users in your domain must be able to access/manage their mail box using IMAP(s) clients or a web browser.
 
** Users in your domain must be able to access/manage their mail box using IMAP(s) clients or a web browser.
 
* You email server must be configured to check the SPF (sender policy framework) of other domains for incoming email and reject email that are violating the sender policy.
 
* You email server must be configured to check the SPF (sender policy framework) of other domains for incoming email and reject email that are violating the sender policy.
* Configure your DNS server to implement and provide the SPF protection for your domain
+
* Configure your DNS server to implement and provide the SPF protection for your domain.
 +
* Configure your DNS server to implement and provide the DNSSEC records for your domain.
 +
**Provide the administrator for the .ops domain (your professor) with a copy of the DS key for your domain.
 +
**Configure a DNSSEC Trust Anchor so that your co-nfs server considers the .ops server to already be authenticated.  I will provide the key necessary for this through blackboard.
  
 
== Supporting Services ==
 
== Supporting Services ==
You need the following services and network infrastructure to support your Internet Email System:
+
You need the following services and network infrastructure to support your Internet Email System (some of which should have been configured in assignment 1):
# A primary DNS name server for your domain with the proper MX record(s), SPF record(s), and A record(s).
+
* A primary DNS name server for your domain with the proper MX record(s), SPF record(s), A record(s), and PTR record(s).
# Proper static network routes to and from other Email servers in the Lab.
+
**Provide the administrator of the .ops domain (your professor) with glue records for your domain.
# An IMAP/IMAPS server running on one of your virtual machines.
+
* Proper static network routes to and from other Email servers in the Lab.
# Two Web Mail servers running on two separated virtual machines. You need to store the users' mail on a NFS server so that both web mail servers can access the users' mail boxes. This will allow your email users to use any one of your two web mail servers. (If you are short on time, one web server will be accepted.)
+
 
# Make your domain visible on the Lab's network. Please check the wiki site for the root hint file and/or the top level name servers' IP.
+
== BONUS ==
# Update your DNS server info on the wiki site as well. URL of the wiki site: http://zenit.senecac.on.ca/wiki/index.php/Domainreg . If you have trouble editing the wiki page, please send an email to your professor.
+
# Optional: Use LDAP authentication to secure your web mail server or Access Agent. (Bonus item +10%)
# A root name server for delegating domains to their corresponding registrants.
 
# A working LDAP server for storing email user account information. If you are not using LDAP, you must at least use NIS to centralize all your email user accounts.
 
# Optional: Use LDAP authentication to secure your web mail server. (Bonus item +10%)
 
# Optional: Enable DNSSEC on your root name server, primary DNS server, caching DNS server (Bonus item +10%)
 
# Optional: Enable postfix restrictions to reject malformed or suspicious incoming mail  (Bonus item +10%)
 
 
<!-- # Optional: Implement dynamic firewall rules to block black-listed IP addresses of email spammer. (Bonus item +10%) -->
 
<!-- # Optional: Implement dynamic firewall rules to block black-listed IP addresses of email spammer. (Bonus item +10%) -->
  
 
= Evaluation =
 
= Evaluation =
==Part 1: Documentation (7 points)==
+
==Script==
 
 
Your documentation should have enough detail to guide a CNS graduate to replicate your Internet Email system (e.g. to perform a disaster recovery) on a Centos 7.x system. Please use your actual IP addresses and FQDN names in your documentation. The documentation should include at least, but not limited to, the followings:
 
# All the steps required to setup up your Internet email system. (Keep notes when you setting up your web site)
 
# A list of all the rpm packages required.
 
# A list of all configuration files involved (especially for the DNS server and Postfix server).
 
# A list of services needed to support the operation.
 
# Step by step procedure on how to add a new email user to your domain.
 
# Step by step procedure on how to send an email to someone with an email address outside of your domain.
 
# Sample email log entries to show that your mail server has successfully delivered an outgoing email, accepting and rejecting an incoming email with SPF checks.
 
# Sample email log entries to show that your mail server has successfully received an incoming email.
 
  
==Part 2: Demonstration (3 points)==
+
On the due date you will be tasked to:
 
# Add two new email users to your domain. Name of the new users will be given in class.
 
# Add two new email users to your domain. Name of the new users will be given in class.
 
# send an email by one of the new email users to the other new email user in your own domain.
 
# send an email by one of the new email users to the other new email user in your own domain.
 
# send an email by one of the new email users to a designated user of other domain.
 
# send an email by one of the new email users to a designated user of other domain.
# receive the reply email from the designated user of the other domain.  
+
# receive the reply email from the designated user of the other domain.
# Mail server log entries:
+
# query a record from another domain
## capture log entries to prove that your mail server has received reply email from the designated user of the other domain.
+
# query a record from another domain with dnssec information included.
## capture log entries to prove that your mail server has sent email to the designated user of other domain
+
I will post a script to blackboard that will capture your configuration and logs. You will run this script on your machines and upload the output to blackboard.
## capture log entries to prove that your mail server has received a new email from the designated user of the other domain.
 
## capture log entries to prove that your mail server has sent an reply email to the designated user of the other domain.
 
# Put the following information to a text file:
 
## the email between the two new email users,
 
## the email to the designated user of the other domain,
 
## the reply email from the designated user of the other domain,
 
## the new email from the designated user of the other domain,
 
## the reply email to the designated user of the other domain, and  
 
## all mail log entries mentioned.
 
Name the text file as "ops535-a2-demo-report-[Seneca-Id].txt" and upload it to blackboard on the evaluation date.  
 
  
 
If you have any questions or need any clarification, please email your instructor at least one week before the posted due date.
 
If you have any questions or need any clarification, please email your instructor at least one week before the posted due date.

Latest revision as of 12:50, 13 March 2019

Due Dates

  • This assignment worth 15% of your final grade.
  • Due Date: April 3rd, 2019
  • Important: You must be in the Lab on April 3rd, 2019 to present your systems in order to have your assignment marked unless it is for medical reason.

Specification

Basic Services

Setup an Internet email system for your assigned DNS Domain using the Virtual Machines in your Virtual Network. Your Internet email system must provide the following functions at the minimum:

  • A SMTP email server (running postfix) that is capable of receiving and sending emails for users in your domain.
    • Users in your domain must be able to send emails to users in the same domain and users in other students' domains in the class.
    • Users in your domain must be able to receive emails from other email users (both in your domain or from other domains).
  • An IMAP Access Agent (running dovecot) allowing users in your domain to remotely access their mail.
    • Users in your domain must be able to access/manage their mail box using IMAP(s) clients or a web browser.
  • You email server must be configured to check the SPF (sender policy framework) of other domains for incoming email and reject email that are violating the sender policy.
  • Configure your DNS server to implement and provide the SPF protection for your domain.
  • Configure your DNS server to implement and provide the DNSSEC records for your domain.
    • Provide the administrator for the .ops domain (your professor) with a copy of the DS key for your domain.
    • Configure a DNSSEC Trust Anchor so that your co-nfs server considers the .ops server to already be authenticated. I will provide the key necessary for this through blackboard.

Supporting Services

You need the following services and network infrastructure to support your Internet Email System (some of which should have been configured in assignment 1):

  • A primary DNS name server for your domain with the proper MX record(s), SPF record(s), A record(s), and PTR record(s).
    • Provide the administrator of the .ops domain (your professor) with glue records for your domain.
  • Proper static network routes to and from other Email servers in the Lab.

BONUS

  1. Optional: Use LDAP authentication to secure your web mail server or Access Agent. (Bonus item +10%)

Evaluation

Script

On the due date you will be tasked to:

  1. Add two new email users to your domain. Name of the new users will be given in class.
  2. send an email by one of the new email users to the other new email user in your own domain.
  3. send an email by one of the new email users to a designated user of other domain.
  4. receive the reply email from the designated user of the other domain.
  5. query a record from another domain
  6. query a record from another domain with dnssec information included.

I will post a script to blackboard that will capture your configuration and logs. You will run this script on your machines and upload the output to blackboard.

If you have any questions or need any clarification, please email your instructor at least one week before the posted due date.