Skip to content

Procmail Companion

Best in textbook rentals since 2012!

ISBN-10: 0201737906

ISBN-13: 9780201737905

Edition: 2002

Authors: Martin McCarthy

List price: $39.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

This title covers the intricacies and complexities of Procmail in an easy-to understand-style. The first part introduces new Procmail users with case studies and examples, the second part is a reference section for more experienced users.
Customers also bought

Book details

List price: $39.99
Copyright year: 2002
Publisher: Addison Wesley Professional
Binding: Paperback
Pages: 256
Size: 7.25" wide x 9.00" long x 0.50" tall
Weight: 1.034
Language: English

Foreword
Preface
What is Promail?
What is Procmail for?
The Basics of Email
The History
The Ingredients
Setting Up Procmail
Obtaining and Installing Procmail
Controlling Mail Delivery with Procmail
Setting Up Procmail for Users
Creating a .forward file
Running Procmail Manually
Running Procmail Manually to Reprocess a Mailbox
Running Procmail Manually to Test Recipes
Debugging Procmail Recipes
Simple Filtering of Email with Procmail
Setting Up a Basic .procmailrc file
Improving Efficiency
It Is Never That Easy
Making Copies
Multiple Conditions in a Recipe
Disposing of Emails
Working with Emails by Size
Nesting Blocks
Summary
More Complex Filtering Using Procmail Regular Expressions
Regular Expressions
Matching Beginnings and Ends
Matching Individual Characters
Character Classes
Sequence Meta-characters
Wildcard Confusion
Word Boundaries
Built-in Shortcuts
Defining Variables
Using the Head and the Body
Other Recipe Flags
Adding Complexity to Conditional Lines
Matching a Condition in the Head or Body
Matching a Condition against a Variable
Or Conditionals and the Else Flag
Backreferences—What You Have Already Matched
Scoring
The Theory of Scoring
Limits
External Programs
Capturing Output into Variables
Extracting Data from Email and Filter Recipes
Using External Programs in Condition Lines
Where the External Programs are to be Found
Using Procmail to Manage Mailing Lists
Announcement Mailing List
Discussion List
Dedicated Mailing List Software
Troubleshooting
Diagnostic Messages
Invoking Procmail
Procmail as a Delivery Agent
Procmail as a General Purpose Mail Filter
Procmail as a Mail Reprocessor
Invoking Formail
Macros and Evironment Variables
Variables
Recipe Syntax
Variables
Comments
Comments Cannot Occur on Condition Lines
Comments Must be Outside Quoted Strings
Comments Depend on what Precedes the #
Recipes
Colon Line
Locking
Conditions
Regular Expressions
Actions
Regular Expression in Meta-characters
Regular Expression Shortcuts
Condition Types
Condition Line Flags
Cookbook
The Basics
Basics .prc
Directing Email to Separate Mailboxes
Problem
Recipe
Explanation
Directing a Single Email to Multiple Mailboxes
Problem
Recipe
Explanation
Handling Email from Mailing Lists
Problem
Recipe
Explanation
OR-ing Conditions
Problem
Recipe
Explanation
Recognising Text that can be Split Across a Line-end
Problem
Recipe
Explanation
Removing ListName from Subject Lines
Problem
Recipe
Explanation
Setting the Default Delivery Location to be a Forwarding Address
Problem
Recipe
Explanation
Sample Build
Index