procmail
[Top] [All Lists]

MATCH

2001-10-16 22:57:06
I have the following recipe:

:0

* ^Subject: pmtest|^Subject: 
cybr|^FROM(_dot_)*deliberatus(_at_)my995internet(_dot_)com

{
        :0f
        |formail -i "X-match: $MATCH">>$KILLEDBOX
}


I have read the man page, as well as Jari Aalto's tips page.  I am
just not getting how to construct the regex in order to get a value
for $MATCH.  I have tried: 
*
(^Subject: pmtest|^Subject: 
cybr|^FROM(_dot_)*deliberatus(_at_)my995internet(_dot_)com)\/.*

as well as other variations on the above theme.  Am I going to have
to put something like
^Subject: pmtest\/.*|^Subject: cybr\/.*|.......
in order to get it to work?  Any other suggestions where a
tips/example page speaks to a guy who wonders why regular
expressions are called "regular"?

-- 
Butch Evans
http://www.ChristInVerse.com/
http://www.HeIsComingSoon.com/ (in the works)

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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