procmail
[Top] [All Lists]

Re: Outlook Exploit Filter?

2000-07-20 07:54:52
From: "David W. Tamkin" <dattier(_at_)ripco(_dot_)com>

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

Yup.  That's how I wanted to write it.  :-)  Scoring.

I take solace in having correctly appraised scoring to be an entirely
efficient heuristic to use, even if I don't yet feel comfortable
actually writing scoring recipes yet.  But, as they say, recognizing
the problem is the biggest step in coding for it.

Thanks, David.

-- 
    \     .-.     .-.     .-.     .-.     .-.     .-.     .-.     /
     \-d-/-m-\-a-/-n-\-(_at_)-/-n-\-e-/-t-\-c-/-o-\-m-/-.-\-c-/-o-\-m-/
      '-'     '-'     '-'     '-'     '-'     '-'     '-'     '-'

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