[ale] Procmail recipes

Robert Story rstory-l at revelstone.com
Mon Sep 29 09:09:08 EDT 2003


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/



More information about the Ale mailing list