Linux Email: Set up and Run a Small Office Email Server
A simple step-by-step guide to setting up a Linux email server using the most popular free Open Source tools

Packt Publishing


 

HOME > CHAPTER 7

Chapter 7:
Advanced Procmail
Now that you have got the basics of Procmail under your belt, we can move on and start putting together a more complete mail-handling system. We will be using a number of more advanced Procmail capabilities in this chapter. By the end of this chapter you should have a useful tool chest of routines for putting together your own set of Procmail recipes and getting your mail under control

  • Chapter 7: Advanced Procmail
     
    • Delivering and Non-Delivering Recipes
      • Non-Delivering Example
    • Ordering of Procmail Recipes
    • Formail
    • Advanced Recipe Analysis
      • Comments
      • Variable Assignments
        • Substitutions
        • Pseudo-Variables
      • Recipes
        • Colon Line
        • Conditions
        • Action Line
    • Regular Expressions
      • Introduction to Regular Expressions
        • The Dot
        • Quantifier Operation '?'
        • The Asterisk *
        • The Plus Sign +
        • Restrictive Matches Using ( )
        • A Simple Spam Filter
        • Character Classes
        • Start of Line
        • End of Line
    • Procmail Macros
      • ^TO and ^TO_
      • ^FROM MAILER
      • ^FROM_DAEMON
      • EXAMPLE
    • Advanced Recipe Examples
      • Example 1: Vacation Auto-Reply
      • Example 2: Organize Mail by Date
      • Example 3: Inform Users of Large Mail
    • Putting it all Together
      • Creating a Structure to Base Your Own Rules Upon
        • Rc.system
        • Rc.lists
        • Rc.killspam
        • Rc.vacation
        • Rc.largefiles
        • Rc.viruses
        • Rc.spamfilter
    • Summary

 

BOOK DETAILS
  Paperback, 295 pages
Released: July 2005
ISBN: 190481137X
Authors: Alistair McDonald,
Carl Taylor,
Magnus Bäck, David Rusenko, Ralf Hildebrandt, Patrick Ben Koetter     
 
 

TABLE OF CONTENTS

Introduction
1: Linux and E-Mail Basics 
2: Setting Up Postfix
3: Incoming Mail with POP and IMAP
4: Providing Webmail Access   Free Chapter
5: Securing Your Installation  
6: Getting Started with Procmail
7: Advanced Procmail
8: Busting Spam with SpamAssassin
9: Antivirus Protection
10: Backing Up Your System
Index

 




View the book details
on PacktPub.com


 

 

  This website is owned and maintained by Packt Publishing Ltd, 2005. All rights reserved. Terms and Conditions