[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    RE: Assist with filtering by external files
From:       Daniel <dan () besthotel ! com>
Date:       2004-03-19 16:07:10
Message-ID: 200403191607.i2JG76u4006187 () besthotel ! com
[Download RAW message or body]

Ok, 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@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic