13,420
edits
Changes
→OVERVIEW & PREPARATION
== OVERVIEW & PREPARATION==
Last week, we you configured and ran the '''Postfix''' application for our MTA (a.k.a. SMTP server) on our '''vm2''' and '''vm3''' machines.
That setup some major drawbacks:
:* The Message Store ('''MS''') would also be unique to each machine - what a user received on one server would not exist on any other.
In this lab we you will centralize some of this information, so that a user can send email from any machine in the network, and have incoming mail sent to a centralized messages store.
'''The a diagram below (duplicate to lab 4a) shows your basic setup of your email system:'''
[[Image:Email-servers.png]]
You will begin by modifying the existing '''Postfix''' ('''MTA''') servers to make mail they send come from your domain (instead of each machine). Then you will add a record to your DNS server to allow mail to be sent to the domain itself, instead of the individual machines. Next we , you will add a Local Delivery Agent ('''LDA''') to your '''vm3''' by installing '''dovecot-lda''', configure it, and test it to make sure that is is working correctly.
Finally, we you will set up an '''IMAP''' server (Dovecot) on VM3, so you can read your email from an MUA such as ''Thunderbird'' or a ''Webmail'' application (such as Roundcube). You will set up a webmail application later in Lab 8).
=== Services involved in email delivery ===
* A '''user'''. That's the person who wants to send an email.
* An '''MUA''' (email client). This is the application the user uses to send an email. It can be a native application or a web application. We'll you will set up both types.
* Two '''MTAs'''. These are the servers responsible for getting your emails to the <u>destination</u> server.
** They are similar to routers (which route packets) but work on the <u>application</u> layer rather than the <u>network</u> layer.
=== Install Thunderbird Application and Setup a Reference Client ===
Eventually we're , you are going to set up all those mail services, but to begin with, we you will set up an email client to connect to a (hopefully) working server - the Seneca email server. This will be a good exercise with an email client.
'''Perform the following steps:'''