[ale] Procmail recipes

matty91 at bellsouth.net matty91 at bellsouth.net
Mon Sep 29 19:06:32 EDT 2003


On Mon, 29 Sep 2003, Robert Story wrote:

> On Sun, 28 Sep 2003 13:02:23 -0400 (EDT) matty91 at bellsouth.net wrote:
> MN> I have been scouring the Internet in an attempt to cleanup some procmail
> MN> recipes I have. Does anyone know if you can do the following in one
> MN> recipe:
> MN>
> MN> :0c
> MN> * ^(To|Cc|Bcc|Reply-To|From).*mailing.list.com
> MN> {
> MN>        :0
> MN>        ^(To|Cc|Bcc|Reply-To|From).*list-chat.*mailing.list.com
> MN>        $MAILDIR/List-Chat
> MN>
> MN>        :0
> MN>        $MAILDIR/List
> MN> }
>
> Check out procmail lib.. it has some support for pulling list names from headers auto-magically...
>
> 	http://pm-lib.sourceforge.net/
>

Thanks for the info. I was able to put together some pretty cool recipes
once I read through all the available flags. Procmail is a pretty neat
piece of software :)



More information about the Ale mailing list