Build A Mail Server

The Build your own Mail Server workshop is aimed at Linux professionals and Linux system administrators who wish to learn how to build and maintain a Mail Server. This workshop teaches how to install the Postfix mail server that is based on virtual users and domains — that is, users and domains that are in an OpenLDAP database.

It covers installation and configuration of Dovecot/Courier, and demonstrates how Dovecot/Courier can authenticate against the OpenLDAP database Postfix uses. The resulting Postfix server is capable of SMTP-AUTH and quota. You will also learn how to store Passwords in encrypted form in the database and to scan emails for viruses and SPAM through Amavisd, SpamAssassin and ClamAV.

Audience

  • Those who wish to build Linux-based, enterprise-grade mail server
  • Those who wish to master and administer Postfix mail server

The workshop is divided into two modules, so as to cater to various levels of expertise. Participants may opt for any module(s) depending on their level of experience or expertise.

Prerequisites

  • Hands on experience on Linux
  • Basic networking concepts and Internet services
  • Basic knowledge of LDAP (and OpenLDAP)

Duration: 3 Days (24 Hours)
Fee: Rs 10,000/- + service tax

Course Outline

  1. Mail Server Concepts
    1. MTA, MUA, MDA
    2. Linux Mail Servers vs Other Options
    3. Comparison of various Linux MTAs
    4. Components of a modern Mail Server
    5. Enhancements
  2. SMTP Theory
    1. Implementing SMTP with Postfix
    2. Postfix Architecture — Queues and Commands
  3. Building & Installing Postfix
    1. Understanding main.cf
    2. Understanding Commonly-used Parameters
    3. Understanding master.cf
    4. Understanding Inbuilt and Custom Programs
  4. Configuring Postfix
    1. Aliases
    2. bcc_maps Configuration
    3. Virtual Users
    4. Relaying
    5. Virtual Domains
    6. Virtual Mailbox setup
    7. Content Filtering
    8. Before Queue Content Filtering
    9. Message Queues and Queue tools
    10. Blocking Rogue Sites using RBL
    11. Greylisting
    12. After Queue Content Filtering
    13. Integrating Anti-Virus
    14. Integrating Anti-Spam
  5. POP/IMAP Theory
    1. Installing and Configuring Dovecot/Courier
    2. Monitoring the Mail Server
  6. Safe Guarding against Virus & SPAM
    1. Client and User Restrictions
    2. ClamAV
    3. Amavisd
    4. Procmail Configuration
    5. SpamAsassin
    6. SMTP AUTH
    7. Transport Layer Security (TLS)
  7. SquirrelMail: Web Mail Interface
  8. Installing SquirrelMail
  9. Integrating with OpenLDAP
  10. Installing Plugins

Prerequisites

  • Knowledge of topics covered in Module 1 of this workshop
  • Basic Knowledge of LDAP

Duration: 3 Days (24 Hours)
Fee: Rs 10,000/- + service tax

Course Outline

  1. OpenLDAP Installation and Configuration
    1. Installing OpenLDAP on Linux
    2. OS and Hardware Optimisation
  2. Understanding and using OpenLDAP client software
  3. Managing OpenLDAP Configuration
  4. OpenLDAP Server Security
    1. OpenLDAP Security-related Configuration
    2. Understanding the OpenLDAP privilege system
    3. Managing users in OpenLDAP
  5. Configuring Postfix for OpenLDAP
    1. Pointing Postfix to OpenLDAP
    2. User Quota and Maildir
  6. Mananging OpenLDAP Databases using phpLDAPAdmin