[ale] Procmail recipes

matty91 at bellsouth.net matty91 at bellsouth.net
Sun Sep 28 13:03:13 EDT 2003


I have been scouring the Internet in an attempt to cleanup some procmail
recipes I have. Does anyone know if you can do the following in one
recipe:

:0c
* ^(To|Cc|Bcc|Reply-To|From).*mailing.list.com
{
       :0
       ^(To|Cc|Bcc|Reply-To|From).*list-chat.*mailing.list.com
       $MAILDIR/List-Chat

       :0
       $MAILDIR/List
}

As it stands today, I have two rules that filter accordingly. Curious if
there is a way to combine these. I can't figure out if I can use
if/then/else logic in the recipe body.

Thanks,
- Ryan



More information about the Ale mailing list