Difference between revisions of "CNM Mail Server"

From CNM Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
Development of the ''Soft'' occurs under the [[Mail for CNM Cloud]] project.
 
Development of the ''Soft'' occurs under the [[Mail for CNM Cloud]] project.
 
==Functions==
 
:'''The purpose of a mail server is''' to allow users to send and receive emails securely.
 
 
:'''The mail server can:'''
 
:*store incoming mail for distribution to local users and sends out outgoing messages;
 
:*collect and distributes emails to their intended destination;
 
:*encrypt the transfer of emails.
 
  
 
==Product specification==
 
==Product specification==
Line 25: Line 17:
 
: The input is the MTA mail server which works on the SMTP protocol. The MTA is on the Internet and it gets and sends the mail. We have some sort of mail base and we also have a mail delivery agent called MDA which delivers mail to the user. This is a POP3 or IMAP protocol. The MDA takes from the email base and gives it to the client. In between is the LDA, which takes mail from the MDA via LMTP (Local Mail Transfer Protocol) and puts it in the database.
 
: The input is the MTA mail server which works on the SMTP protocol. The MTA is on the Internet and it gets and sends the mail. We have some sort of mail base and we also have a mail delivery agent called MDA which delivers mail to the user. This is a POP3 or IMAP protocol. The MDA takes from the email base and gives it to the client. In between is the LDA, which takes mail from the MDA via LMTP (Local Mail Transfer Protocol) and puts it in the database.
 
: Usually, you don't put extra software as an LDA. Today, both Postfix and Dovecot can act as an LDA. But Postfix does it in a very primitive way. If you use Dovecot, however, it is possible to connect Sieve (a scripting language for mail filtering) and much more.
 
: Usually, you don't put extra software as an LDA. Today, both Postfix and Dovecot can act as an LDA. But Postfix does it in a very primitive way. If you use Dovecot, however, it is possible to connect Sieve (a scripting language for mail filtering) and much more.
: [https://repo.employableu.com/root/course-illustrations/-/wikis/home Нow to install Postfix and Dovecot:]
+
 
*Also antispam was installed. [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%90%D0%BD%D1%82%D0%B8%D1%81%D0%BF%D0%B0%D0%BC-Spam-Assassin How to install Spam Assassin:]
+
===Database system===
*You need to configure DNS correctly for the mail server to work properly. [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D1%8B%D0%B5-%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B8-DNS How to configure DNS:]
+
: It deploys ... as its database management system -- why?
*Email message management was set up in Dovecot. [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%A3%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BF%D0%BE%D1%87%D1%82%D0%BE%D0%B2%D1%8B%D0%BC%D0%B8-%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D0%BD%D0%B8%D1%8F%D0%BC%D0%B8-%D0%B2-Dovecot.-Sieve How to set up Email message management in Dovecot:]
+
 
*Traffic was encrypted in Postfix. [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%A8%D0%B8%D1%84%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA%D0%B0-%D0%B2-Postfix How to encrypt traffic in Postfix:]
+
===Software instances===
 +
: Software instances that power core, hands-on training, and experiential systems and applications. This software tends to be titled in the "CNM/Opplet COTS-name" format.
 +
 
 +
===Security===
 +
====Malware protection====
 +
: Previously, [[CNM Cloud]] developers struggled with the viruses, so an effective anti-virus strategy must be found -- what was the solution?
 +
 
 +
==Standard Operation Procedures==
 +
 
 +
* [https://repo.employableu.com/root/course-illustrations/-/wikis/home Нow to install Postfix and Dovecot:]
 +
* [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%90%D0%BD%D1%82%D0%B8%D1%81%D0%BF%D0%B0%D0%BC-Spam-Assassin How to install Spam Assassin:]
 +
* [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D1%8B%D0%B5-%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B8-DNS How to configure DNS:]
 +
* [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%A3%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BF%D0%BE%D1%87%D1%82%D0%BE%D0%B2%D1%8B%D0%BC%D0%B8-%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D0%BD%D0%B8%D1%8F%D0%BC%D0%B8-%D0%B2-Dovecot.-Sieve How to set up Email message management in Dovecot:]
 +
* [https://repo.employableu.com/root/course-illustrations/-/wikis/%D0%A8%D0%B8%D1%84%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D1%82%D1%80%D0%B0%D1%84%D0%B8%D0%BA%D0%B0-%D0%B2-Postfix How to encrypt traffic in Postfix:]
 +
 
 +
==Hands-on assignments==
 +
: Hands-on assignments that CNM learners can use to get accustomed to the software while using its hands-on training systems and applications.
 +
 
 +
==Presentations==
 +
: Presentations that present the software to its new users in multimedia, video, just audio, and/or just graphic formats.
 +
 
 +
==User group==
 +
: CNM Social user group has not yet been created; the group may organize software-related events and produce newsletters.
 +
 
 +
==Related lectios==
 +
: Lectios that provide CNM learners with knowledge about the deployed software.
 +
 
 +
==Functions==
 +
:'''The purpose of a mail server is''' to allow users to send and receive emails securely.
 +
 
 +
:'''The mail server can:'''
 +
:*store incoming mail for distribution to local users and sends out outgoing messages;
 +
:*collect and distributes emails to their intended destination;
 +
:*encrypt the transfer of emails.
 +
 
 +
==Product specification==
  
 
[[Category:CNM Cloud products]]
 
[[Category:CNM Cloud products]]

Revision as of 17:07, 20 February 2023

CNM Mail Server (hereinafter, the Soft) is the server that makes sure that all CNM apps can send and, when applicable, receive emails through it.

Development of the Soft occurs under the Mail for CNM Cloud project.

Product specification

The Product specifications are:
  • We use the most popular combination of Postfix and Dovecot for mail setup.
Postfix is the Mail Transfer Agent. Postfix is free software, featuring a clever modular architecture that allows you to create a reliable and fast mail system.
Dovecot is a free IMAP and POP3 server that offers security, configuration flexibility, and performance. Dovecot features are:
  1. High-performance
  2. A large number of supported mechanisms for storing authentication information (including LDAP) and authentication itself (SSL is supported).
  3. Extensibility via plugins.
  4. Strict adherence to standards. Dovecot is one of the few servers to pass all IMAP standards tests.
We use the combination because Postfix just concerns itself with sending off client emails and temporarily storing incoming emails without sorting them according to recipient email address. And Dovecote's principal task is sorting the emails received by the mail transfer agent (MTA), e.g. Postfix, and delivering them on demand by each recipient. It separates the mass of emails arriving at Postfix's single mailbox into individual mailboxes for each recipient address and simultaneously listens for requests for a new email from recipients' email client packages.
Post.png
  • The architecture of the mail server looks like this:
The input is the MTA mail server which works on the SMTP protocol. The MTA is on the Internet and it gets and sends the mail. We have some sort of mail base and we also have a mail delivery agent called MDA which delivers mail to the user. This is a POP3 or IMAP protocol. The MDA takes from the email base and gives it to the client. In between is the LDA, which takes mail from the MDA via LMTP (Local Mail Transfer Protocol) and puts it in the database.
Usually, you don't put extra software as an LDA. Today, both Postfix and Dovecot can act as an LDA. But Postfix does it in a very primitive way. If you use Dovecot, however, it is possible to connect Sieve (a scripting language for mail filtering) and much more.

Database system

It deploys ... as its database management system -- why?

Software instances

Software instances that power core, hands-on training, and experiential systems and applications. This software tends to be titled in the "CNM/Opplet COTS-name" format.

Security

Malware protection

Previously, CNM Cloud developers struggled with the viruses, so an effective anti-virus strategy must be found -- what was the solution?

Standard Operation Procedures

Hands-on assignments

Hands-on assignments that CNM learners can use to get accustomed to the software while using its hands-on training systems and applications.

Presentations

Presentations that present the software to its new users in multimedia, video, just audio, and/or just graphic formats.

User group

CNM Social user group has not yet been created; the group may organize software-related events and produce newsletters.

Related lectios

Lectios that provide CNM learners with knowledge about the deployed software.

Functions

The purpose of a mail server is to allow users to send and receive emails securely.
The mail server can:
  • store incoming mail for distribution to local users and sends out outgoing messages;
  • collect and distributes emails to their intended destination;
  • encrypt the transfer of emails.

Product specification