Book Image

Qmail Quickstarter: Install, Set Up and Run your own Email Server

Book Image

Qmail Quickstarter: Install, Set Up and Run your own Email Server

Overview of this book

This book starts with setting up a qmail server and takes you through virtualization, filtering, and other advanced features like hosting multiple domains, mailing lists, and SSL Encryption. Finally, it discusses the log files and how to make qmail work faster. Qmail is a secure, reliable, efficient, simple message transfer agent. It is designed for typical Internet-connected UNIX hosts. Qmail is the second most common SMTP server on the Internet, and has by far the fastest growth of any SMTP server. Qmail's straight-paper-path philosophy guarantees that a message, once accepted into the system, will never be lost. Qmail also optionally supports maildir, a new, super-reliable user mailbox format.
Table of Contents (13 chapters)

Delivering Email Remotely


The qmail-rspawn program, similar to qmail-lspawn, is given commands to deliver messages. The difference is that the messages qmail-rspawn must deliver must be delivered remotely. The qmail-rspawn program merely hands the message to qmail-remote along with the host to be contacted, the envelope sender, and the envelope recipient. The qmail-remote instances are spawned asynchronously, so deliveries can happen in any order. Unlike qmail-lspawn, which performs user identification and sets up the environment for qmail-local, qmail-rspawn functions merely as a launcher for qmail-remote that reads messages from the queue.

While qmail-rspawn and qmail-remote both run as a user (qmailr) with permission to read mail out of the qmail queue, they behave similarly to qmail-lspawn and qmail-local. The qmail-rspawn program reads the message from the queue and feeds it to qmail-remote.

How It Normally Works

The delivery commands from qmail-send consist of only a message number...