[Mimedefang] Bad extensions and vCards

Michael McCarthy m.mccarthy at psy.uq.edu.au
Thu May 30 18:51:42 EDT 2002

At 06:11 PM 30/05/02 -0400, you wrote:
>On Thu, 30 May 2002, Kelson Vibber wrote:
> > I've added a $ at the end of the expression in filter_bad_filename
> > so that it will only match at the end of the string.
>for the rationale behind my decision not to include the $.

OK, granted, but nevertheless there are some anomalies. For example, 
yesterday our mimedefang-filter was rejecting a legitimate .ppt file 
because its filename was "B.CommunicationPublicity.ppt" (because of the 

Why not something like

sub filter_bad_filename {
     my($entity) = @_;
     return re_match($entity, 


Michael McCarthy
IT Manager
School of Psychology
The University of Queensland
+617 3365 6687

More information about the MIMEDefang mailing list