| Preface | p. ix |
| Introduction to Qmail | |
| Internet Email | p. 3 |
| Mail Basics | p. 3 |
| Mailstore | p. 6 |
| The Structure of Internet Mail | p. 8 |
| How Qmail Works | p. 10 |
| Small Programs Work Together | p. 10 |
| What Does a Mail Transfer Agent (MTA) Do? | p. 13 |
| The Pieces of Qmail | p. 13 |
| Installing Qmail | p. 16 |
| Where to Find Qmail | p. 16 |
| Creating the Users and Groups | p. 19 |
| Configuring and Making the Software | p. 21 |
| Patching Qmail | p. 25 |
| Getting Comfortable with Qmail | p. 27 |
| Mailboxes, Local Delivery, and Logging | p. 27 |
| An Excursion into Daemon Management | p. 28 |
| Setting Up the Qmail Configuration Files | p. 30 |
| Starting and Stopping Qmail | p. 31 |
| Incoming Mail | p. 35 |
| Procmail and Qmail | p. 40 |
| Creating Addresses and Mailboxes | p. 41 |
| Reading Your Mail | p. 41 |
| Configuring Qmail's Control Files | p. 42 |
| Using - alias | p. 48 |
| fastforward and /etc/aliases | p. 49 |
| Moving from Sendmail to Qmail | p. 52 |
| Running Sendmail and Qmail in Parallel | p. 52 |
| User Issues | p. 53 |
| System Issues | p. 55 |
| Converting Your Aliases File | p. 58 |
| Trusted Users | p. 60 |
| Handling Locally Generated Mail | p. 61 |
| Qmail-queue | p. 61 |
| Cleaning Up Injected Mail | p. 63 |
| Accepting Local Mail from Other Hosts | p. 68 |
| Distinguishing Injected from Relayed Mail | p. 68 |
| Accepting Mail from Other Hosts | p. 70 |
| Accepting Incoming SMTP Mail | p. 70 |
| Accepting and Cleaning Up Local Mail Using the Regular SMTP Daemon | p. 70 |
| Dealing with Roaming Users | p. 74 |
| SMTP Authorization and TLS Security | p. 74 |
| POP-before-SMTP | p. 79 |
| Delivering and Routing Local Mail | p. 84 |
| Mail to Local Login Users | p. 84 |
| Mail Sorting | p. 85 |
| Filtering and Rejecting Spam and Viruses | p. 90 |
| Filtering Criteria | p. 90 |
| Places to Filter | p. 90 |
| Spam Filtering and Virus Filtering | p. 91 |
| Connection-Time Filtering Tools | p. 92 |
| SMTP-Time Filtering Tools | p. 96 |
| Delivery Time Filtering Rules | p. 102 |
| Combination Filtering Schemes | p. 103 |
| Advanced Qmail | |
| Local Mail Delivery | p. 107 |
| How Qmail Delivers Local Mail | p. 107 |
| Mailbox Deliveries | p. 111 |
| Program Deliveries | p. 112 |
| Subaddresses | p. 115 |
| Special Forwarding Features for Mailing Lists | p. 115 |
| The Users Database | p. 116 |
| Bounce Handling | p. 117 |
| Remote Mail Delivery | p. 120 |
| Telling Local from Remote Mail | p. 120 |
| Qmail-remote | p. 120 |
| Locating the Remote Mail Host | p. 120 |
| Remote Mail Failures | p. 123 |
| Serialmail | p. 125 |
| Virtual Domains | p. 127 |
| How Virtual Domains Work | p. 127 |
| Some Common Virtual Domain Setups | p. 128 |
| Some Virtual Domain Details | p. 138 |
| POP and IMAP Servers and POP Toasters | p. 140 |
| Each Program Does One Thing | p. 140 |
| Starting the Pop Server | p. 142 |
| Testing Your POP Server | p. 145 |
| Building POP Toasters | p. 147 |
| Picking Up Mail with IMAP and Web Mail | p. 157 |
| Mailing Lists | p. 164 |
| Sending Mail to Lists | p. 164 |
| Using Ezmlm with qmail | p. 168 |
| Using Other List Managers with Qmail | p. 174 |
| Sending Bulk Mail That's Not All the Same | p. 175 |
| The Users Database | p. 177 |
| If There's No Users Database | p. 177 |
| Making the Users File | p. 178 |
| How Qmail Uses the Users Database | p. 180 |
| Typical Users Setup | p. 180 |
| Adding Entries for Special Purposes | p. 181 |
| Logging, Analysis, and Tuning | p. 183 |
| What Qmail Logs | p. 183 |
| Collecting and Analyzing Qmail Logs with Qmailanalog | p. 184 |
| Analyzing Other Logs | p. 189 |
| Tuning Qmail | p. 189 |
| Tuning to Deal with Spam | p. 192 |
| Looking at the Mail Queue with qmail-qread | p. 193 |
| Many Qmails Make Light Work | p. 195 |
| Tools for Multiple Computers and Qmail | p. 195 |
| Setting Up mini-qmail | p. 197 |
| A Compendium of Tips and Tricks | p. 201 |
| Qmail Won't Compile | p. 201 |
| Why Qmail Is Delivering Mail Very Slowly | p. 201 |
| Stuck Daemons and Deliveries | p. 202 |
| Mail to Valid Users Is Bouncing or Disappearing | p. 204 |
| Mail Routing | p. 205 |
| Local Mail Delivery Tricks | p. 205 |
| Delivering Mail on Intermittent Connections | p. 206 |
| Limiting Users' Mail Access | p. 207 |
| Adding a Tag to Each Outgoing Message | p. 209 |
| Logging All Mail | p. 210 |
| Setting Mail Quotas and Deleting Stale Mail | p. 210 |
| Backing Up and Restoring Your Mail Queue | p. 211 |
| A Sample Script | p. 213 |
| Online Qmail Resources | p. 220 |
| Index | p. 223 |
| Table of Contents provided by Ingram. All Rights Reserved. |