|
|
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
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
|
 |
|
 |
| |
Paperback,
295 pages
Released: July 2005
ISBN: 190481137X
Authors: Alistair McDonald,
Carl Taylor, Magnus Bäck, David Rusenko, Ralf
Hildebrandt, Patrick Ben Koetter |
|
|
|
|
|
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
|
 |