procmail
[Top] [All Lists]

Re: Outlook Exploit Filter?

2000-07-20 06:49:34
| # ==============
| 
| DATEHEADERCOUNT=`grep -e "^Date:" -i | wc -c`
| DATEHEADERFLAG=`expr 50 - $DATEHEADERCOUNT | sed s/[0-9].*//`
| 
| :0
| * DATEHEADERFLAG ?? ^^-^^
| /dev/null
| 
| # ==============

Goodness, Lee, as Dallman has said, that's a heck of a lot of outside work
for something procmail can do without help.

You want to drop any message with more than fifty characters in the Date:
header?  OK ...


 :0
 * ^\/Date:.*
 { DATEHEADER=$MATCH }

 :0
 * 1^1 DATEHEADER ?? .
 * -50^0
 /dev/null


_______________________________________________
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>