qmail: An Alternative to Send Mail


qmail has quietly become one of the most widely used applications on the Internet today. It's powerful enough to handle mail for systems with millions of users—Like Yahoo! Mail and Hotmail, while remaining compact and manageable enough for the smallest Unix- and Linux-based PC systems. Its component design makes it easy to extend and customize while keeping its key functions secure, so it's no wonder that adoption of qmail continues at a rapid pace.The downside? Apparently none. Except that qmail's unique design ...

See more details below
Paperback (New Edition)
BN.com price
(Save 7%)$34.95 List Price
Other sellers (Paperback)
  • All (23) from $1.99   
  • New (9) from $5.72   
  • Used (14) from $1.99   

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
BN.com price
(Save 44%)$27.99 List Price


qmail has quietly become one of the most widely used applications on the Internet today. It's powerful enough to handle mail for systems with millions of users—Like Yahoo! Mail and Hotmail, while remaining compact and manageable enough for the smallest Unix- and Linux-based PC systems. Its component design makes it easy to extend and customize while keeping its key functions secure, so it's no wonder that adoption of qmail continues at a rapid pace.The downside? Apparently none. Except that qmail's unique design can be disorienting to those familiar with other popular MTAs (Mail Transfer Agents). If you're coming from sendmail, for instance, you might have trouble recasting your problems and solutions in qmail terms. qmail first helps you establish a "qmail frame of mind," then explores the installation, configuration, administration, and extension of this powerful MTA. Whether you're installing from scratch or managing mailing lists with thousands of users, qmail provides detailed information about how to make qmail do precisely what you wantqmail concentrates on common tasks like moving a sendmail setup to qmail, or setting up a "POP toaster," a system that provides mail service to a large number of users on other computers sending and retrieving mail remotely. The book also fills crucial gaps in existing documentation, detailing exactly what the core qmail software does.Topics covered include:

  • Installation and configuration, including patching qmail
  • Moving from sendmail to qmail
  • Handling locally and remotely originated messages
  • Managing virtual domains
  • Logging qmail activity
  • Tuning qmail performance
  • Running multiple copies of qmail on the same computer
  • Mailing list setup and management
  • Integrating the qmail MTA with POP and IMAP delivery
  • Filtering out spam and viruses
If you need to manage mailing lists, large volumes of mail, or simply find sendmail and other MTAs too complicated, qmail may be exactly what's called for. Our new guide, qmail, will provide the guidance you need to build an email infrastructure that performs well, makes sense, and is easy to maintain.
Read More Show Less

Product Details

  • ISBN-13: 9781565926288
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 3/28/2004
  • Edition description: New Edition
  • Edition number: 1
  • Pages: 252
  • Sales rank: 1,322,895
  • Product dimensions: 7.00 (w) x 9.19 (h) x 0.65 (d)

Meet the Author

John R. Levine writes, lectures, and consults on Unix and compiler topics. He moderates the online comp.compilers discussion group at Usenet. He worked on Unix versions Lotus 1-2-3 and the Norton Utilities and was one of the architects of AIX for the IBM RT PC. He received a Ph.D in computer science from Yale in 1984.

Read More Show Less

Table of Contents

What's Inside?;
Style Conventions;
Examples and Patches;
Comments and Questions;
Part I: Introduction to Qmail;
Chapter 1: Internet Email;
1.1 Mail Basics;
1.2 Mailstore;
1.3 The Structure of Internet Mail;
Chapter 2: How Qmail Works;
2.1 Small Programs Work Together;
2.2 What Does a Mail Transfer Agent (MTA) Do?;
2.3 The Pieces of Qmail;
Chapter 3: Installing Qmail;
3.1 Where to Find Qmail;
3.2 Creating the Users and Groups;
3.3 Configuring and Making the Software;
3.4 Patching Qmail;
Chapter 4: Getting Comfortable with Qmail;
4.1 Mailboxes, Local Delivery, and Logging;
4.2 An Excursion into Daemon Management;
4.3 Setting Up the Qmail Configuration Files;
4.4 Starting and Stopping Qmail;
4.5 Incoming Mail;
4.6 Procmail and Qmail;
4.7 Creating Addresses and Mailboxes;
4.8 Reading Your Mail;
4.9 Configuring Qmail's Control Files;
4.10 Using ~alias;
4.11 fastforward and /etc/aliases;
Chapter 5: Moving from Sendmail to Qmail;
5.1 Running Sendmail and Qmail in Parallel;
5.2 User Issues;
5.3 System Issues;
5.4 Converting Your Aliases File;
5.5 Trusted Users;
Chapter 6: Handling Locally Generated Mail;
6.1 qmail-queue;
6.2 Cleaning Up Injected Mail;
6.3 Accepting Local Mail from Other Hosts;
6.4 Distinguishing Injected from Relayed Mail;
Chapter 7: Accepting Mail from Other Hosts;
7.1 Accepting Incoming SMTP Mail;
7.2 Accepting and Cleaning Up Local Mail Using the Regular SMTP Daemon;
7.3 Dealing with Roaming Users;
7.4 SMTP Authorization and TLS Security;
7.5 POP-before-SMTP;
Chapter 8: Delivering and Routing Local Mail;
8.1 Mail to Local Login Users;
8.2 Mail Sorting;
Chapter 9: Filtering and Rejecting Spam and Viruses;
9.1 Filtering Criteria;
9.2 Places to Filter;
9.3 Spam Filtering and Virus Filtering;
9.4 Connection-Time Filtering Tools;
9.5 SMTP-Time Filtering Tools;
9.6 Delivery Time Filtering Rules;
9.7 Combination Filtering Schemes;
Part II: Advanced Qmail;
Chapter 10: Local Mail Delivery;
10.1 How Qmail Delivers Local Mail;
10.2 Mailbox Deliveries;
10.3 Program Deliveries;
10.4 Subaddresses;
10.5 Special Forwarding Features for Mailing Lists;
10.6 The Users Database;
10.7 Bounce Handling;
Chapter 11: Remote Mail Delivery;
11.1 Telling Local from Remote Mail;
11.2 qmail-remote;
11.3 Locating the Remote Mail Host;
11.4 Remote Mail Failures;
11.5 Serialmail;
Chapter 12: Virtual Domains;
12.1 How Virtual Domains Work;
12.2 Some Common Virtual Domain Setups;
12.3 Some Virtual Domain Details;
Chapter 13: POP and IMAP Servers and POP Toasters;
13.1 Each Program Does One Thing;
13.2 Starting the Pop Server;
13.3 Testing Your POP Server;
13.4 Building POP Toasters;
13.5 Picking Up Mail with IMAP and Web Mail;
Chapter 14: Mailing Lists;
14.1 Sending Mail to Lists;
14.2 Using Ezmlm with qmail;
14.3 Using Other List Managers with Qmail;
14.4 Sending Bulk Mail That's Not All the Same;
Chapter 15: The Users Database;
15.1 If There's No Users Database;
15.2 Making the Users File;
15.3 How Qmail Uses the Users Database;
15.4 Typical Users Setup;
15.5 Adding Entries for Special Purposes;
Chapter 16: Logging, Analysis, and Tuning;
16.1 What Qmail Logs;
16.2 Collecting and Analyzing Qmail Logs with Qmailanalog;
16.3 Analyzing Other Logs;
16.4 Tuning Qmail;
16.5 Tuning to Deal with Spam;
16.6 Looking at the Mail Queue with qmail-qread;
Chapter 17: Many Qmails Make Light Work;
17.1 Tools for Multiple Computers and Qmail;
17.2 Setting Up mini-qmail;
Chapter 18: A Compendium of Tips and Tricks;
18.1 Qmail Won't Compile;
18.2 Why Qmail Is Delivering Mail Very Slowly;
18.3 Stuck Daemons and Deliveries;
18.4 Mail to Valid Users Is Bouncing or Disappearing;
18.5 Mail Routing;
18.6 Local Mail Delivery Tricks;
18.7 Delivering Mail on Intermittent Connections;
18.8 Limiting Users' Mail Access;
18.9 Adding a Tag to Each Outgoing Message;
18.10 Logging All Mail;
18.11 Setting Mail Quotas and Deleting Stale Mail;
18.12 Backing Up and Restoring Your Mail Queue;
Appendix A: A Sample Script;
A.1 A Mail-to-News Gateway;
Appendix B: Online Qmail Resources;
B.1 Web Sites;
B.2 Mailing Lists;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted November 22, 2011

    No text was provided for this review.

Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)