[PLUG] regarding attachments

Billy M Dimaculangan bmdimaculangan at bhpi.com.ph
Fri Sep 13 07:14:46 UTC 2002


How can I deal about these Ucase or Lcase filenames in filtering attachments

-----Original Message-----
From: plug-admin at lists.pdxlinux.org [mailto:plug-admin at lists.pdxlinux.org]On
Behalf Of alan
Sent: Friday, September 13, 2002 6:26 AM
To: Plug
Subject: Re: [PLUG] regarding attachments

On Fri, 13 Sep 2002, Billy M Dimaculangan wrote:

> Hello,
>
> I'm having some problems regarding my mail attachments filtering.  Below
is
> the I line I have from body_checks
>
> /^.*name=".*\.(pps|com|sys|vbe|vbs|vb|cmd|scr|bat|pif|exe|shs)"/
REJECT
>
> this filtering sometimes fails. Most of the time it rejects files with
this
> attachments, but at some instances it fails to rejects files with these
> attachments especially the EXE  and PPS files. Anyone who can enlighten me
> this one.........

Your regex is case sensitive.  Anything in upper case will get past it.


_______________________________________________
PLUG mailing list
PLUG at lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug





More information about the PLUG mailing list