Book Image

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

By : Alistair McDonald, Carl Taylor, David Rusenko, Magnus Back, Patrick Ben Koetter, Ralf Hildebrandt
Book Image

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

By: Alistair McDonald, Carl Taylor, David Rusenko, Magnus Back, Patrick Ben Koetter, Ralf Hildebrandt

Overview of this book

<p>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.&nbsp; 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.<br /> <br /> 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.</p>
Table of Contents (14 chapters)
Copyright
Credits
About the Authors
Introduction

Advanced Recipe Examples


Here we are going to assemble the various items of Procmail capability into a couple of useful recipes that you can use as the basis for tools within your own organization. The first example is based on the traditional Vacation script that informs senders of your e-mail that the message may not be read for some time. The second shows how to create the support to automatically file messages based on the date and possibly time of being processed. Finally we will complete the rule started in the previous chapter to inform the user of large mail items that have been filtered off into a separate folder.

Example 1: Vacation Auto-Reply

This example is based upon the vacation example given in man procmailex and referred to briefly earlier in this chapter.

As we have already discussed, blindly and automatically responding to an e-mail is a very bad idea and has significant ramifications. First we must decide whether to send an auto-reply. To do this we need to make sure that...