procmail
[Top] [All Lists]

RE: Extension regex [Was: Damn this Sexy-Fun garbage!]

2001-03-12 17:09:39

I was just looking at this again, and the original posted who referenced:

      http://officeupdate.microsoft.com/2000/articles/Out2ksecFAQ.htm

neglected to include the FIRST TWO columns of extensions. Note the LACK of
a reference to .bat, .com and .exe, for starters. Here are the rest:

Oops... mea culpa... thanks for the catch.

      ad[ep]|ba[st]|c(hm|md|om|pl|rt)|exe|h(lp|ta)|i(n[fs]|sp)|js[e]|lnk

Not too sure of the "js[e]" construct to match either "js" or "jse", but.

Does that mean that this (below) is the right recipe for catching all those?



:0
*
Content-[-a-z0-9_]+:.*=[        
]*"?[^"]*\.ad[ep]|ba[st]|c(hm|md|om|pl|rt)|exe|h(lp|ta
)|i(n[fs]|sp)|js[e]|lnk
{ INCLUDERC=$PROCDIR/itsavirus.rc }


:0
* ^Content-Type:.*multipart
* B ?? ^Content-[-a-z0-9_]+:.*($[       ].*)*=[  ]*($[  ]+)*"?\
[^"]*\.ad[ep]|ba[st]|c(hm|md|om|pl|rt)|exe|h(lp|ta)|i(n[fs]|sp)|js[e]|lnk
{ INCLUDERC=$PROCDIR/itsavirus.rc }




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