Chapter 4. MORE COMPLEX FILTERING USING PROCMAIL REGULAR EXPRESSIONS

The previous chapter has shown how easy it is to tell Procmail to make some simple decisions about how to handle individual emails. Now we can move on to looking at how to tell Procmail to do some real work.

We will now consider the full power of Procmail regular expressions and how to use this to decide how different emails should be treated; how to pass emails to external programs for more complex treatment; how to use these techniques in real-world applications such as the automated processing of order forms and registration forms, and disposing of SPAM.

REGULAR EXPRESSIONS

In Chapter 3 we have already looked at some of the simpler aspects of Procmail regular expressions. Here ...

Get Procmail Companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.