PacktLib: Linux Email

Linux E-mail

Credits

About the Authors

About the Reviewers

Preface

Linux and E-mail Basics

Why manage your own e-mail server

What you need to host an e-mail server

Sizing the hardware of your e-mail server

Main e-mail protocols: SMTP, POP, and IMAP

E-mail and DNS

Backup mail servers

Summary

Setting up Postfix

Introduction to Postfix

Installation and basic configuration

Stopping spam and other unwanted messages

Virtual alias domains and local aliases

Troubleshooting Postfix problems

Summary

Incoming Mail with POP and IMAP

Choosing between POP and IMAP

Downloading and installing Courier-IMAP

Using POP3

Using IMAP

Summary

Providing Webmail Access

The webmail solution

The SquirrelMail webmail package

SquirrelMail installation and configuration

SquirrelMail plugins

Securing SquirrelMail

Summary

Securing Your Installation

Configuring Postfix network maps

Cyrus SASL

Testing Cyrus SASL authentication

Configuring Postfix SMTP AUTH

Testing SMTP AUTH

Enabling relaying for authenticated clients

Securing plaintext mechanisms

Dictionary attacks

Summary

Getting Started with Procmail

Introduction to Procmail

How can a filtering system help me?

Downloading and installing Procmail

Basic operations

Analyzing a simple rule

Creating and testing a rule

Configuration debugging

Understanding e-mail structure

Example rule sets

System-wide rules

Summary

Advanced Procmail

Delivering and non-delivering recipes

Formail

Advanced recipe analysis

Regular expressions

Advanced recipes

Procmail Module Library

Putting it all together

Summary

Busting Spam with SpamAssassin

Why filter e-mail

Introduction to SpamAssassin

Downloading and installing SpamAssassin

Using SpamAssassin

Configuring e-mail clients

Customizing SpamAssassin

Other SpamAssassin features

Summary

Antivirus Protection

Introduction to ClamAV

Document types supported

Downloading and installing ClamAV

Editing the config files

Post installation testing

Introduction to ClamSMTP

T´╗┐esting e-mail filtering

Automating update of virus data

Automating startup and shutdown

Monitoring log files

Disinfecting files

Summary

Backing Up Your System

Backup options

What to back up

What not to back up

Backing up users' e-mail

Backing up configurations and logs

Automating backups

Verifying restoration procedures

Summary