[Mimedefang] filter_bad_filename and upgrade ?'s

Robert Covell rcovell at rolet.com
Thu Oct 17 10:12:01 EDT 2002


We just upgraded to SA 2.43 and MD 2.21.  Everything is working fine, but
does not seem to catch as many attachments or spam as our previous install
of SA 2.20 and MD 2.16.  Has anyone else seen this?

We merged out mimedefang-filter.pl with the new one from the latest release.
In our filter_bad_filename we replaced the following line:

We were using this:
$re = '(\{)|(\})|(\.' . $bad_exts . ')\.*([^-A-Za-z0-9_.]|$)';

And moved to this (Taken from the latest stable build):
$re = '\.' . $bad_exts . '\.*([^-A-Za-z0-9_.,]|$)';

Is there any benefit to the new one?  Could this have caused some
attachments to get through?

-Bob




More information about the MIMEDefang mailing list