About nixCraft

Topics

Book review: Setup and Run a Small Office Email Server Using Postfix, Courier, Procmail, Squirrelmail, Clamav and Spamassassin

Posted by Vivek Gite [Last updated: December 25, 2006]

Email is one the killer application of Internet. It is the easy method of composing, sending, storing, and receiving messages over electronic communication systems. Leading free web based email providers such as Gmail , Yahoo or your own ISP uses UNIX / Linux based email servers.

However many new sysadmin finds it difficult to setup and maintain an email server system. This book is aimed at all new sysadmin who wish to learn the basis of mail server, setup & configuration issues, and advanced topics such as spam/virus protection. This book gives you just what you need to know to set up and maintain an email server:

  1. Configure and run your own industry strength Postfix mail server
  2. Provide and configure POP3 and IMAP services
  3. Configure Anti virus and anti spam protection for your mail server
  4. Security and optimization of an email server
  5. Other mail server related admin issues such as Backup, Recovery and tips.
Setup and Run a Small Office Email Server

The entire book is divided into ten chapters.

Chapter 1: Linux and Email Basics

This chapter explains the fundamental concepts related to Email such as software/hardware requirements to run an email server, mail server protocols (SMTP, POP, IMAP etc) and their overview etc. It also explains role of a DNS server in e-mailing.

Chapter 2: Setting up Postfix

Postfix is the name of a mail transfer agent (MTA) program. It makes sure that your mails are received and delivered to correct mailboxes. This chapter introduces you to Postfix MTA and its architecture. It covers following topics:

Chapter 3: Incoming Mail with POP and IMAP

Postfix will receive your email but to read these emails from Desktop clients such as Outlook express you need special server software. This chapter deals with the Courier – IMAP suite of software installation and configuration. It also walkthrough you configuring mail clients such as Outlook express and Mozilla Thunderbird.

Chapter 4: Providing Webmail Access

The idea of accessing e-mail via the web from a computer anywhere in the world was originally pioneered by Hotmail service (now MSN Hotmail). Your corporate or personal mail server can be access just like Hotmail using special webmail program called SquirrelMail. This chapter explains the configuration, setup and issues related to SquirrelMail webmail software.

Chapter 5: Securing Your Installation

Hackers and crackers are everywhere. They are waiting for cracking your mail server infrastructure. But, wait there are other issues like open relay, worms and much more. This chapter deals with security of your entire mail infrastructure. It also covers issues such as SMTP after POP, Virtual private network and SMTP authentication using Postfix SMTP Auth and Cyrus SASL using LDAP and SQL backends.

Chapter 6: Getting started with Procmail

Procmail mail is filter or a program to process incoming emails on a computer. It is a common practice is to let procmail call an external spam filter program, such as SpamAssassin to filter out Spam. This chapter talks about potential uses for mail filtering, forwarding mail etc. It covers most wildly use Procmail usage such as scanning e-mail headers, message body and filtering out emails.

Chapter 7: Advanced procmail

After learning some basic usage, it is time to put procmail at work. You will learn how to write procmail macros, advanced recipe analysis etc. This chapter also has advanced procmail recipe such as
=> Setting up a Vacation auto reply
=> Organizing emails etc

Chapter 8: Busting Spam with SpamAssassin

SpamAssassin is one of the most effective spam filters. It can filter e-mail based on content-matching rules, checksum-based, statistical filtering, DNS etc.
This chapter covers SpamAssassin installation and confirmation. It also covers amavisd-new software, which is use to scan for e-mail virus.

Chapter 9: Antivirus protection

Most business and personal e-mail comes with attachments. These attachments can bring disaster in form of viruses. Therefore scanning incoming e-mails (infected attachments) is an essential task for any mail server.

You will learn about ClamAV anti-virus system and configuration with ClamSMTP (an interface between Postfix and ClamAV anti-virus software).

Chapter 10: Backing up your system

Final chapter talks about backing up you dedicated mail server. You will learn
What to backup
How to perform backup and recovery operation of an email server
Installing and configuring subversion software. Therefore, Postfix mail server configuration can be traced using Revision control system.

Summary

I recommend this book for following reasons:

E-mail this to a friend      Printable version

You may also be interested in other helpful articles:

Discussion on This Article:

  1. Muhammad Iftikhar Says:

    its too good for the neww comers

  2. Nirmala Jain Says:

    Does this book cover setting up postfix on suse linux enterprise server 10?

  3. vivek Says:

    Book does covers RPM based installation. POSTFIX mta is not distro specific setup. You can use any Linux distro as long as you know how to edit files using a text editor ;)

  4. Charles Ng Says:

    I was trying to set up an email server with SLES 10 too.

    When the basic installation was finished, it asked me questions with abbreviations I had no idea on such as CA, DN, CN, LDAP … etc. After I chose to skip inputting values for those fields, I found myself searching for the meanings, examples, reference for all those erratas rather than setting up an e-mail server. All I wanted was just to setup an e-mail server that’s all …
    Anyway, would this book do any help? Comments please? Thanks.

    -Charles

  5. vivek Says:

    CA, DN, CN, LDAP -> Those all are LDAP centralized authentication parameters. It is only required if you are going to use centralized authentication system using Novell eDirectory or OpenLDAP.

    By reading your comment it appears that you are new to Linux. Yes this is a full step by step guide for people like you.

    If you just need a simply guide try this

    HTH.

  6. meeran Says:

    i need know how to create a auto-reply setting in the Linux mail server pls send me a user guide

  7. Charles Ng Says:

    Dear vivek (and to those who might have a clue),

    I have this quick question and hope you can shed me some light.

    I was following the guide you prompted me and during the yast2 installation, neither 2 of my online sources nor my 10.2 OpenSuSE DVD disc has courier-imap and courier-authlib.

    So what am I going to do? Any suggestions, please?

    Many thanks.

    -Charles

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.