Postfix Book w/ Labs and Videos
This 327 page Postfix Mail Book is a detailed working manual with Postfix Lab Projects. The book is a 11×8.5″ lay flat manual that takes you step-by-step in configuring a Postfix Mail Server.
Here is an outline of the contents of our Postfix book.
Introduction to Mail Servers
The Postfix book introduction describes the theory and structure of how mail is transferred on the Internet.
The modular design is described with a focus on how mail is transported within Postfix in order to understand the process and path of mail within Postfix.
There are several key features that must be set correctly for Postfix to run, including making Postfix the default server, setting the identity of the server, configuring network settings and aliases needed for Postfix. Once that is complete the course demonstrates ways to check the configuration. This section concludes with methods for evaluating logs, mail limits, queue management and a list of Postfix commands. Special attention is given to the description of Lookup Tables and Maps which Postfix uses to read information and settings.
Simple Mail Transport Protocol (SMTP) defines the way may is transferred between mail servers. Requiring mail servers to follow standards that are set reduces SPAM on the Postfix server. These restrictions which when they are instituted will dramatically reduce the amount of SPAM on your mail server. These restrictions include, communication in the envelope, restrictions on hostname, recipient restrictions, restrictions on the envelope sender,requisition of an existing domain, restrictions on the envelope recipient, and recipient names. Managing these restrictions correctly will save resources, thus money, when employing a Postfix Mail Server.
Relay control is a way to restrict who can send mail through your mail server and is an important step in protecting Postfix from sending SPAM.
Specific methods of controlling SPAM are discussed in tis section. SPAM control methods include; client detection rules, forged addresses, non-routable networks, blackholes, and address sender verification.
Cyrus-Imap is a secure but difficult Mail Delivery Agent (MDA) that is discussed in detail. This section covers basic installation, the admin user, creating users, administering users, access control lists, logins, realms, mailbox quotas, sasld authentication, troubleshooting, authentication failure, tcp_wrappers and SELinux.
Dovecot is the secure alternative to Cyrus-IMAP and this section will demonstrate how to configure and employ Dovecot in various situations.
IMAP and SquirrelMail Install
Web based mail is a popular choice and SqurrelMail is one of the easiest alternatives to configure for web based email. This section will discuss the requirements, configuration and settings for SquirrelMail.
Hosting Multiple Domains
Configuring Postfix for multiple domains is an important task as it is a common requirement. This section will describe the steps to separate domains with virtual accounts, create virtual ownership, using virtual domain aliases, creating users, setting IP configurations and providing the configuration required for Cyrus-IMAP or Dovecot to host multiple domains.
There may be times when you will want to reconfigure default mailbox locations. This section will describe the options and demonstrate how to set them up.
Mobile Users and SMTP Authentication
One of the features of a mail server that you will want to configure is to allow users to authenticate to the mail server from any location. This section describes how to configure that option so that qualified users may authenticate and receive mail from anywhere. This section includes SASL authentication, server-side authentication, and relay permissions.
SMTP AUTH and Microsoft Outlook Express
The popular use of Microsoft Outlook and Outlook Express may require you to configure your Postfix Mail Server to be able to service these clients. This section show you how to set that up.
Intro to TLS and SSL
Transport Layer Security (TLS) and SSL are options to provide encrypted email and logins. This section will show you the differences and demonstrate how to configure TLS the more secure option. This will include configuring Dovecot, SquirrelMail, Zimbra Desktop and other client options.
Provide SPAM and Virus Control
Amavisd is configured to provide an option to scan for SPAM and virus activity when mail arrives on the Postfix server. This section will describe the installation of SpamAssassin, ClamAV, the configuration of Perl modules needed for Amavisd, SpamAssassin rules, how to modify SPAM rules, discard SPAM, tests, and virus signature updates as well as whitelists and blacklists for SPAM.
Postfix Mail Gateway
Postfix is commonly used to create a secure Gateway for Microsoft Exchange servers. This section will show you how to set that up and to secure it for safety. It will also include how to set up a Virtualized Mail Gateway.
This section will demonstrate scripts that can be run to gather statistics for the mail server. This will provide you with detailed information about specific users and how they are using their mail.
The mail server is in a very hostile environment. This section will show you how protect your mail server for various kinds of attack. It will also discuss how to limit attacks by limiting country subnets.
Create a chroot Jail
This section will show you how to set up the chroot jail for Postfix. You will also see how to use SELInux or AppArmor to protect the mail server.
Specific and common problems are discussed in this troubleshooting section.
Problem: virtual_alias.db Does Not Exist
Problem: Wrong Transport
Problem: No Local Recipient Maps for Virtual Domains