Linux Email: Set up and Run a Small Office Email Server

There are definite advantages to running your corporate e-mail on Linux. This step-by-step guide explains how easy it is to set up your own e-mail server and implement advanced features.
Preview in Mapt
Code Files

Linux Email: Set up and Run a Small Office Email Server

Alistair McDonald et al.

There are definite advantages to running your corporate e-mail on Linux. This step-by-step guide explains how easy it is to set up your own e-mail server and implement advanced features.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Linux Email: Set up and Run a Small Office Email Server Book Cover
Linux Email: Set up and Run a Small Office Email Server
$ 23.99
$ 16.80
Linux Email Book Cover
Linux Email
$ 26.99
$ 18.90
Buy 2 for $34.30
Save $16.68
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781904811374
Paperback316 pages

Book Description

Many businesses want to run their email servers on Linux, 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. Unlike other approaches that deal with one component at a time, this book gives you a basic knowledge across all the server components, leaving you with a complete working email server for your small business network.

Based entirely on free, Open Source software, you will see how to protect your server from spam and viruses, offer web access for remote access, and secure your installation with regular backups.

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: Incoming Mail with POP and IMAP
Downloading and Installing Courier-IMAP
Using POP3
Using IMAP
Summary
Chapter 4: Providing Webmail Access
The Webmail Solution
The SquirrelMail Webmail Package
SquirrelMail Installation and Configuration
SquirrelMail Plug-Ins
Securing SquirrelMail
Summary
Chapter 5: Securing Your Installation
Setting Up a Permanent Authorized Relay for an IP Address or Range of IP Addresses
Cyrus SASL
Testing Cyrus SASL Authentication
Postfix SMTP AUTH Configuration
Testing SMTP AUTH
Enabling Relaying for Authenticated Clients
Securing Plaintext Mechanisms
Dictionary Attacks
Summary
Chapter 6: Getting Started with Procmail
How can a Filtering System Help Me?
Introduction to Procmail
Downloading and Installation
Basic Operations
Analyzing a Simple Rule
Creating and Testing a Rule
Configuration Debugging
Understanding E-mail Structure
Example Rule Sets
System-Wide Rules
Summary
Chapter 7: Advanced Procmail
Delivering and Non-Delivering Recipes
Ordering of Procmail Recipes
Formail
Advanced Recipe Analysis
Regular Expressions
Procmail Macros
Advanced Recipe Examples
Putting it all Together
Summary
Chapter 8: Busting Spam with SpamAssassin
Why Filter E-Mail?
SpamAssassin in Detail
Getting SpamAssassin
Using SpamAssassin
Configuring E-Mail Clients
Customization
Other SpamAssassin Features
Summary
Chapter 9: Antivirus Protection
Introduction to ClamAV
Document Types Supported
Downloading and Installing ClamAV
Downloading, Building, and Installing ClamSMTP
Testing Filtering
Automating Startup and Shutdown
Automating Update of Virus Data
Freshclam Configuration
Monitoring Log Files
Disinfecting Files
Summary
Chapter 10: Backing Up Your System
What to Back Up
What not to Back Up
E-Mail
Configurations
Summary

What You Will Learn

  • Setting up and running a Linux-based email server
  • Key information about installing, configuring, and using PostFix, Courier, SquirrelMail, ProcMail, ClamAV, and SpamAssassin
  • Securing and protecting your installation from viruses, spam, intruders, and hardware failure

 

Authors

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: Incoming Mail with POP and IMAP
Downloading and Installing Courier-IMAP
Using POP3
Using IMAP
Summary
Chapter 4: Providing Webmail Access
The Webmail Solution
The SquirrelMail Webmail Package
SquirrelMail Installation and Configuration
SquirrelMail Plug-Ins
Securing SquirrelMail
Summary
Chapter 5: Securing Your Installation
Setting Up a Permanent Authorized Relay for an IP Address or Range of IP Addresses
Cyrus SASL
Testing Cyrus SASL Authentication
Postfix SMTP AUTH Configuration
Testing SMTP AUTH
Enabling Relaying for Authenticated Clients
Securing Plaintext Mechanisms
Dictionary Attacks
Summary
Chapter 6: Getting Started with Procmail
How can a Filtering System Help Me?
Introduction to Procmail
Downloading and Installation
Basic Operations
Analyzing a Simple Rule
Creating and Testing a Rule
Configuration Debugging
Understanding E-mail Structure
Example Rule Sets
System-Wide Rules
Summary
Chapter 7: Advanced Procmail
Delivering and Non-Delivering Recipes
Ordering of Procmail Recipes
Formail
Advanced Recipe Analysis
Regular Expressions
Procmail Macros
Advanced Recipe Examples
Putting it all Together
Summary
Chapter 8: Busting Spam with SpamAssassin
Why Filter E-Mail?
SpamAssassin in Detail
Getting SpamAssassin
Using SpamAssassin
Configuring E-Mail Clients
Customization
Other SpamAssassin Features
Summary
Chapter 9: Antivirus Protection
Introduction to ClamAV
Document Types Supported
Downloading and Installing ClamAV
Downloading, Building, and Installing ClamSMTP
Testing Filtering
Automating Startup and Shutdown
Automating Update of Virus Data
Freshclam Configuration
Monitoring Log Files
Disinfecting Files
Summary
Chapter 10: Backing Up Your System
What to Back Up
What not to Back Up
E-Mail
Configurations
Summary

Book Details

ISBN 139781904811374
Paperback316 pages
Read More

Read More Reviews

Recommended for You

Network Analysis using Wireshark Cookbook Book Cover
Network Analysis using Wireshark Cookbook
$ 29.99
$ 6.00
Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide Book Cover
Advanced Penetration Testing for Highly-Secured Environments: The Ultimate Security Guide
$ 35.99
$ 7.20
Linux Shell Scripting Cookbook, Second Edition Book Cover
Linux Shell Scripting Cookbook, Second Edition
$ 26.99
$ 5.40
VMware vSphere 5.1 Cookbook Book Cover
VMware vSphere 5.1 Cookbook
$ 29.99
$ 21.00
Linux Mint Essentials Book Cover
Linux Mint Essentials
$ 29.99
$ 21.00
Programming Microsoft Dynamics NAV Book Cover
Programming Microsoft Dynamics NAV
$ 35.99
$ 25.20