RE: [Qmail-scanner-general]Blocking attachments with double extensions

2002-07-16 Thread Joshua Megerman
> -Original Message- > From: Doug Monroe [mailto:[EMAIL PROTECTED]] > > if I'm not mistaken, v1.12 already takes care of those cases: > > # Grab extension for wildcard matches > if ($file=~/(^.*)(\.[^\.]+)$/) { > $extension=tolower($2); > } else { > $extension=""; >

Re: [Qmail-scanner-general]Blocking attachments with double extensions

2002-07-16 Thread Doug Monroe
Joshua Megerman wrote: > > I could have sworn this has been asked before, but I can't find it anywhere, > so... > > I would like to block attachments with double extensions that are used to > hide viruses - specifically things like .txt.vbs and so forth. I know jus > tblocking all .vbs files wi