procmail
[Top] [All Lists]

Re: Please dont laugh at my recipe, help needed

1998-12-17 10:58:09
At 10:15 17-12-98 -0600, Todd Lindstrom wrote:

shortcut I can do to make it a better regular expression.

:0
* ^(From:.*(virtual\.co\.il|yafbatya|BonusMail|discgolfer|wildershow|
        onelist\.com|discsports|316csi\.com|alesis1)|
        Reply.To:.*(stretcher\.com|shabbatshalom)|Errors-To:.*(netcenter-news))
{
  # actions
}


Untested.  The idea is to group all of your like terms together.  The
singular errors-to item is still in parenthesis just to make subsequent
additions clearer - they occur WITHIN the parens.


---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

<Prev in Thread] Current Thread [Next in Thread>