RE: Assist with filtering by external files2004-03-19 09:14:46Ok, now I've added a couple lines. If the subject matches search the body
for words within a list. Except for testing I have one line in the external
file and it is not matching it. Any suggestions?
MYSUBJECT=`formail -zxSubject:`
:0
* ? fgrep -xi "$MYSUBJECT" $LIST/subject
{
:0B
* ? grep -i $LIST/body
$JUNK
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
|
|
||||||||||||||||