More Information

You will:

  • Install Postfix mail transfer agent and set up an environment to send and receive email messages
  • Implement the two standard email retrieval protocol services – POP3 and IMAP – for your mail server using Courier-IMAP
  • Configure an easy-to-use open source email client – Mozilla Thunderbird – on your system
  • Install and maintain an efficient webmail solution for your clients with SquirrelMail
  • Prevent usernames and passwords from being sent in plain text, instead encrypting them to avoid eavesdroppers from intercepting valid account details
  • Configure relay permissions for static as well as dynamic IP addresses, and protect your Postfix server from relay abuse
  • Create mail filters, sort your incoming mail into separate folders, pre-process your mail, start any programs upon mail arrival and selectively forward certain incoming mail automatically to someone using Procmail
  • Automatically filter all the mails for spam by integrating SpamAssassin with your mail server
  • Secure your mail server by configuring an email virus scanning system with Clam AV
  • Create an ongoing scheduled backup to recover from catastrophic loss of service in case of a major hardware or software malfunction

Many businesses want to run their email servers on Linux for greater control and flexibility of corporate communications, but getting started can be complicated. The attractiveness of a free-to-use and robust email service running on Linux can be undermined by the apparent technical challenges involved. Some of the complexity arises from the fact that an email server consists of several components that must be installed and configured separately, then integrated together.

This book gives you just what you need to know to set up and maintain an email server. Unlike other approaches that deal with one component at a time, this book delivers a step-by-step approach across all the server components, leaving you with a complete working email server for your small business network.

Starting with a discussion on why you should even consider hosting your own email server, the book covers setting up the mail server. We then move on to look at providing web access, so that users can access their email out of the office. After this we look at the features you'll want to add to improve email productivity: virus protection, spam detection, and automatic email processing. Finally we look at an essential maintenance task: backups.

Written by professional Linux administrators, the book is aimed at technically confident users and new and part-time system administrators. The emphasis is on simple, practical and reliable guidance.

Based entirely on free, Open Source software, this book will show you how to set up and manage your email server easily.

  • Covers all the information you need to easily set up your own Linux email server
  • Learn how to provide web access to email, virus and spam protection, and more
  • Thoroughly covers open source tools like PostFix, Courier, SpamAssassin, and ProcMail
  • A step-by-step approach where the reader is taken through examples with ample screenshots and clear explanations to facilitate learning
Page Count 376
Course Length 11 hours 16 minutes
ISBN 9781847198648
Date Of Publication 11 Nov 2009


Alistair McDonald

Alistair McDonald is a freelance IT consultant based in the UK. He has worked in IT for over 15 years and specializes in C++ and Perl development and IT infrastructure management. He is a strong advocate of open source, and has strong cross-platform skills. He prefers vim over vi, emacs over Xemacs or vim, and bash over ksh or csh.

He is very much a family man and spends as much time as possible with his family enjoying life.

Carl Taylor

Carl Taylor has worked over 20 years in the IT industry and has spent the majority of that time working on Unix type systems, mainly communications or office automation projects. He was an early user of the UseNet network and taught himself to programme in C through working on a variety of open source software. His experience covers roles including pre and post sales support, product development, end user training and management.

Carl now runs his own Web Solutions development company 'Adepteo' where they specialise in intranet and workflow products building on the best open source applications available. Whilst not working or looking after his children Carl is something of a dance addict and is currently learning Latin and Ballroom and Salsa.

David Rusenko

David Rusenko was born in Paris, France, and spent most of his childhood overseas. He began working as a freelance web designer in 1996 and had his first experience with open source, a box copy of RedHat 5.2, shortly after in 1999. After six years and as many versions of RedHat, he now creates appealing web pages and devises solutions implementing high availability through clustering and alternate security models.

He founded Aderes in 2001, a company which provides email and web-based security solutions. His search for an appropriate Webmail platform for the company led him to Squirrelmail. Initially managing all aspects of the business, from the technical concerns to customer support, gave him the experience he now contributes to the Webmail chapter of this book.

David has studied both Information Sciences and Technology (IST) and Management Information Systems (MIS) at the Pennsylvania State University. He speaks English and French fluently, and is conversational in Arabic. During his free time and vacations, he enjoys scuba diving, backpacking, playing racquetball and playing electronic music records.

Ian Haycox

Ian Haycox is a freelance IT consultant based in France and actively contributes to open source projects. He has twenty-five years of software development experience in the enterprise integration, telecommunications, banking, and television sectors.

Ian has a degree in Computer Science from the University of Hertfordshire, UK, and now runs his own web design company ( and Linux programming consultancy.

Magnus Back

Magnus Back has been playing and working with computers since he was a kid, and within the computer field he is interested in everything from digital typography and compilers to relational databases and Unix. His interests also include e-mail services, and he is an active contributor to the Postfix mailinglist.

Magnus holds a master's degree in computer science and engineering from Lund Institute of Technology, Sweden, and currently works with software configuration management and tools development for GSM/UMTS phones at Sony Ericsson Mobile Communications.

Patrick Ben Koetter

Patrick Ben Koetter is an active and well-known figure in the Postfix community, working as information architect. Patrick Koetter runs his own company consulting and developing corporate communication for customers in Europe and Africa.

He speaks about Postfix at industry conferences and hacker conventions and contributes regularly to a number of open source mailing lists. Patrick Koetter is Co-author of 'The Book of Postfix'.

Ralf Hildebrandt

Ralf Hildebrandt is an active and well-known figure in the Postfix community, working as a systems engineer for T-Systems, a German telecommunications company.

He speaks about Postfix at industry conferences and hacker conventions and contributes regularly to a number of open source mailing lists. Ralf Hildebrandt is Co-author of 'The Book of Postfix'.